FAILURE STATE

This commit is contained in:
2026-01-01 11:41:43 -05:00
parent 9364df2645
commit 7fbf8ae8c2
25 changed files with 1713 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ func main() {
os.Exit(1)
}
case "run":
if err := server.Start(dir); err != nil {
if _, err := server.Start(dir); err != nil {
if errors.Is(err, os.ErrNotExist) {
fmt.Fprintf(os.Stderr, "%s does not exist\n", dir)
fmt.Fprintf(os.Stderr, "Try: fes new %s\n", dir)