mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-30 18:23:23 +00:00
fix: change error level to 2
This commit is contained in:
parent
5dd7ce382a
commit
0d5c826f54
@ -29,7 +29,7 @@ func cd(L *lua.LState) int {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
switch err.(*os.PathError).Err.Error() {
|
switch err.(*os.PathError).Err.Error() {
|
||||||
case "no such file or directory":
|
case "no such file or directory":
|
||||||
LuaErr(L, 1)
|
LuaErr(L, 2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user