Compare commits

..

No commits in common. "afcc6fe63a35a10e778dc3e5c89ca660eb5caf40" and "bc4e0f835ff3cf3dcfcabe27ec6b275e53e57567" have entirely different histories.

1 changed files with 2 additions and 4 deletions

View File

@ -35,11 +35,9 @@ func cd(L *lua.LState) int {
switch e := err.(*os.PathError).Err.Error(); e {
case "no such file or directory":
LuaErr(L, 1)
case "not a directory":
LuaErr(L, 2)
default:
fmt.Printf("Found unhandled error case: %s\n", e)
fmt.Printf("Report this at https://github.com/Rosettea/Hilbish/issues with the title being: \"fs: unhandled error case %s\", and show what caused it.\n", e)
fmt.Printf("Found unhandled error case: %s", e)
fmt.Printf("Report this at https://github.com/Hilbis/Hilbish/issues with the title being: \"fs: unahndled error case %s\", and show what caused it.\n", e)
LuaErr(L, 213)
}
}