🎨 Cleanup code
This commit is contained in:
parent
318f453125
commit
07e9f4654f
|
@ -13,6 +13,7 @@
|
|||
"WD": "${pwd}",
|
||||
"Locale": "en_US",
|
||||
"Playground": "${home}/playground",
|
||||
"Users": "conf/users",
|
||||
"UsersWorkspaces": "${WD}/workspaces",
|
||||
"AllowRegister": true,
|
||||
"Autocomplete": true
|
||||
|
|
3
main.go
3
main.go
|
@ -66,6 +66,9 @@ func init() {
|
|||
log.SetLevel("warn")
|
||||
logger = log.NewLogger(os.Stdout)
|
||||
|
||||
logger.Warnf(*confUsers)
|
||||
logger.Warnf(*confUsersWorkspaces)
|
||||
|
||||
//wd := util.OS.Pwd()
|
||||
//if strings.HasPrefix(wd, os.TempDir()) {
|
||||
// logger.Error("Don't run Wide in OS' temp directory or with `go run`")
|
||||
|
|
Loading…
Reference in New Issue