This commit is contained in:
parent
7347c0b151
commit
3c30d09cb6
2
main.go
2
main.go
|
@ -65,7 +65,7 @@ func init() {
|
||||||
|
|
||||||
wd := util.OS.Pwd()
|
wd := util.OS.Pwd()
|
||||||
if strings.HasPrefix(wd, os.TempDir()) {
|
if strings.HasPrefix(wd, os.TempDir()) {
|
||||||
logger.Error("Don't run wide in OS' temp directory or with `go run`")
|
logger.Error("Don't run Wide in OS' temp directory or with `go run`")
|
||||||
|
|
||||||
os.Exit(-1)
|
os.Exit(-1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue