Update error message to match new error type

This commit is contained in:
Christian Rocha 2020-08-22 11:13:22 -04:00 committed by Christian Muehlhaeuser
commit a10e7862ca

View file

@ -416,7 +416,7 @@ func findLocalFiles() tea.Msg {
if debug {
log.Println("error finding local files:", err)
}
return errMsg(err)
return errMsg{err}
}
return initLocalFileSearchMsg{ch: ch, cwd: cwd}