large changes
This commit is contained in:
@@ -118,11 +118,12 @@ Check out [Fes's docs](https://docs.vxserver.dev/static/fes.html).`, "$$", "`"),
|
||||
|
||||
ui.Hint("you can run this with `fes run %s`", dir)
|
||||
|
||||
fmt.Println("Created new Fes project at", func() string {
|
||||
if res, err := filepath.Abs(dir); err == nil {
|
||||
return res
|
||||
fmt.Println("Created new Fes project at", func () string {
|
||||
if cwd, err := os.Getwd(); err != nil {
|
||||
return dir
|
||||
} else {
|
||||
return cwd
|
||||
}
|
||||
return dir
|
||||
}())
|
||||
|
||||
return nil
|
||||
|
||||
@@ -72,7 +72,7 @@ func Hint(msg string, args ...any) {
|
||||
g = (hex >> 8) & 0xFF
|
||||
b = hex & 0xFF
|
||||
return
|
||||
}(hintColor)).Printf("%s * hint: %s\n", formatTimestamp(), formatted)
|
||||
}(hintColor)).Printf("hint: %s\n", formatted)
|
||||
}
|
||||
|
||||
// Path logging: prints route and status
|
||||
|
||||
Reference in New Issue
Block a user