2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-27 17:00:41 +00:00

fix: change error level to 2

This commit is contained in:
TorchedSammy 2021-03-30 23:57:13 -04:00
parent 5dd7ce382a
commit 0d5c826f54

View File

@ -29,7 +29,7 @@ func cd(L *lua.LState) int {
if err != nil {
switch err.(*os.PathError).Err.Error() {
case "no such file or directory":
LuaErr(L, 1)
LuaErr(L, 2)
}
}