mirror of https://github.com/Hilbis/Hilbish
fix: change error level to 2
parent
5dd7ce382a
commit
0d5c826f54
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue