mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 19:23:24 +00:00
chore: remove redundant returns
This commit is contained in:
parent
074c5f6766
commit
3d36786cc7
@ -37,8 +37,6 @@ commander.register('cd', function (args)
|
||||
end
|
||||
fs.cd(hilbish.home)
|
||||
bait.throw('cd', hilbish.home)
|
||||
|
||||
return
|
||||
end)
|
||||
|
||||
commander.register('exit', function()
|
||||
@ -135,8 +133,6 @@ A section is a module or a literal section and a subdoc is a subsection for it.
|
||||
Available sections: ]]
|
||||
|
||||
print(table.concat(modules, ', '))
|
||||
|
||||
return
|
||||
end)
|
||||
|
||||
do
|
||||
@ -207,7 +203,6 @@ to get a list of recent directories, use {green}{underline}cdr list{reset}]])
|
||||
end
|
||||
|
||||
fs.cd(recentDirs[index])
|
||||
return
|
||||
end)
|
||||
|
||||
-- Hook handles
|
||||
|
Loading…
x
Reference in New Issue
Block a user