🎨 Cleanup code
This commit is contained in:
parent
318f453125
commit
07e9f4654f
|
@ -13,6 +13,7 @@
|
||||||
"WD": "${pwd}",
|
"WD": "${pwd}",
|
||||||
"Locale": "en_US",
|
"Locale": "en_US",
|
||||||
"Playground": "${home}/playground",
|
"Playground": "${home}/playground",
|
||||||
|
"Users": "conf/users",
|
||||||
"UsersWorkspaces": "${WD}/workspaces",
|
"UsersWorkspaces": "${WD}/workspaces",
|
||||||
"AllowRegister": true,
|
"AllowRegister": true,
|
||||||
"Autocomplete": true
|
"Autocomplete": true
|
||||||
|
|
3
main.go
3
main.go
|
@ -66,6 +66,9 @@ func init() {
|
||||||
log.SetLevel("warn")
|
log.SetLevel("warn")
|
||||||
logger = log.NewLogger(os.Stdout)
|
logger = log.NewLogger(os.Stdout)
|
||||||
|
|
||||||
|
logger.Warnf(*confUsers)
|
||||||
|
logger.Warnf(*confUsersWorkspaces)
|
||||||
|
|
||||||
//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`")
|
||||||
|
|
Loading…
Reference in New Issue