From bcb33db3fb34e03a5ca8b72801a44ca7c024849d Mon Sep 17 00:00:00 2001 From: Mihovil Ilakovac Date: Fri, 27 Sep 2024 12:23:23 +0200 Subject: [PATCH] Update waspc/src/Wasp/Util/Json.hs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Šošić --- waspc/src/Wasp/Util/Json.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waspc/src/Wasp/Util/Json.hs b/waspc/src/Wasp/Util/Json.hs index fce6b959d9..dc7128ec1b 100644 --- a/waspc/src/Wasp/Util/Json.hs +++ b/waspc/src/Wasp/Util/Json.hs @@ -6,7 +6,7 @@ import qualified System.Process as P import Wasp.Util.Aeson (decodeFromString) -- | Uses Node.js to parse JSON with comments by treating it as a JavaScript object. --- We used this technique because Aeson can't handle it and we didn't want to write +-- We use this technique because Aeson can't read JSON with comments and we didn't want to write -- a custom parser. parseJsonWithComments :: FromJSON a => String -> IO (Either String a) parseJsonWithComments jsonStr = do