From cffee7f546920cfbd32fa7433c7b18135a5c406b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 26 Aug 2025 23:01:40 +0100 Subject: [PATCH] imp:import: avoid extra newline after output --- hledger/Hledger/Cli/Commands/Import.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/Commands/Import.hs b/hledger/Hledger/Cli/Commands/Import.hs index 0a4368a48..4b72d5bcb 100644 --- a/hledger/Hledger/Cli/Commands/Import.hs +++ b/hledger/Hledger/Cli/Commands/Import.hs @@ -60,7 +60,7 @@ importcmd opts@CliOpts{rawopts_=rawopts,inputopts_=iopts} j = do Left err -> error' err Right (newj, latestdatesforfiles) -> case sortOn tdate $ jtxns newj of - [] -> hPrintf stderr "no new transactions found in %s\n\n" inputstr + [] -> hPrintf stderr "no new transactions found in %s\n" inputstr newts | catchup -> if dryrun