imp:journal:include: grammar fix in "neither found" error message
This commit is contained in:
parent
7b8684ba7a
commit
f3bf7e80b9
@ -223,7 +223,7 @@ defaultJournalPath = do
|
|||||||
exists <- doesFileExist defaultfile
|
exists <- doesFileExist defaultfile
|
||||||
if exists then return defaultfile
|
if exists then return defaultfile
|
||||||
-- else error' $ "LEDGER_FILE is unset and \"" <> defaultfile <> "\" was not found"
|
-- 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
|
else do
|
||||||
mf <- headMay <$> expandGlob "." ledgerfile `C.catch` (\(_::C.IOException) -> return [])
|
mf <- headMay <$> expandGlob "." ledgerfile `C.catch` (\(_::C.IOException) -> return [])
|
||||||
case mf of
|
case mf of
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user