handle non-existent directories during reload

This commit is contained in:
Gokcehan committed 2018-07-30 20:56:57 +03:00
1 parent a0935fabcb
commit d3f9a3588f
4 files changed
+27 -17

No files matched your search

+3 -1
View File
@@ -404,7 +404,9 @@ func (e *callExpr) eval(app *app, args []string) {
case "load":
app.nav.renew()
case "reload":
app.nav.reload()
if err := app.nav.reload(); err != nil {
app.ui.printf("reload: %s", err)
}
case "read":
app.ui.cmdPrefix = ":"
case "shell":