From 2bbd2f8b692dd952903a9f1527f2779a916118ab Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 13 Dec 2023 03:47:14 +0100 Subject: chore: uncache large issue fields --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Main.hs') diff --git a/app/Main.hs b/app/Main.hs index 6ccc29a..603ab2a 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -626,7 +626,7 @@ editIssues issues = withSystemTempDirectory "anissue-edit" (go issues) where go :: [Issue] -> FilePath -> IO () go issues cwd = do - mapM_ (\issue -> T.writeFile (fp issue) issue.rawText) issues + mapM_ (\issue -> T.writeFile (fp issue) =<< issue.rawText) issues sh_ (proc "${EDITOR-vi} -- %" (map fp issues)) replaceTexts issues where -- cgit v1.2.3