fix: change error level to 2

pull/21/head^2
TorchedSammy 2021-03-30 23:57:13 -04:00
parent 5dd7ce382a
commit 0d5c826f54
1 changed files with 1 additions and 1 deletions

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)
}
}