imp:journal:include: grammar fix in "neither found" error message

This commit is contained in:
Simon Michael 2025-12-06 10:21:53 -10:00
parent 7b8684ba7a
commit f3bf7e80b9

View File

@ -223,7 +223,7 @@ defaultJournalPath = do
exists <- doesFileExist defaultfile
if exists then return defaultfile
-- else error' $ "LEDGER_FILE is unset and \"" <> defaultfile <> "\" was not found"
else error' $ "neither LEDGER_FILE nor \"" <> defaultfile <> "\" were found"
else error' $ "neither LEDGER_FILE nor \"" <> defaultfile <> "\" was found"
else do
mf <- headMay <$> expandGlob "." ledgerfile `C.catch` (\(_::C.IOException) -> return [])
case mf of