From ef890e1b23e854a61f8cd781251645734004e4ff Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 27 May 2015 14:41:23 -0700 Subject: [PATCH] add: quote file name consistently in output Don't show quotes around the journal file path in the "Creating..." message since there aren't any in the subsequent "Adding..." message. --- hledger-lib/Hledger/Read.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Read.hs b/hledger-lib/Hledger/Read.hs index 555d34ce9..fd9cf82a8 100644 --- a/hledger-lib/Hledger/Read.hs +++ b/hledger-lib/Hledger/Read.hs @@ -187,7 +187,7 @@ ensureJournalFileExists :: FilePath -> IO () ensureJournalFileExists f = do exists <- doesFileExist f when (not exists) $ do - hPrintf stderr "Creating hledger journal file \"%s\".\n" f + hPrintf stderr "Creating hledger journal file %s.\n" f -- note Hledger.Utils.UTF8.* do no line ending conversion on windows, -- we currently require unix line endings on all platforms. newJournalContent >>= writeFile f