check run
This commit is contained in:
parent
c35371de1b
commit
5a9fa25702
2
main.go
2
main.go
|
@ -57,7 +57,7 @@ func init() {
|
||||||
|
|
||||||
wd := util.OS.Pwd()
|
wd := util.OS.Pwd()
|
||||||
if strings.HasPrefix(wd, os.TempDir()) {
|
if strings.HasPrefix(wd, os.TempDir()) {
|
||||||
glog.Error("Wide can't run in the OS' temp directory and it can't run with `go run`")
|
glog.Error("Don't run wide in OS' temp directory or with `go run`")
|
||||||
|
|
||||||
os.Exit(-1)
|
os.Exit(-1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue