mirror of https://github.com/Hilbis/Hilbish
fix(cd): return err code of fs.cd instead of 1 specifically
parent
a140db1610
commit
accd4beeba
|
@ -20,7 +20,7 @@ commander.register('cd', function (args)
|
|||
if err == 1 then
|
||||
print('directory does not exist')
|
||||
end
|
||||
return 1
|
||||
return err
|
||||
end
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue