From 39a180288a1123d61a778614244d32996690e3da Mon Sep 17 00:00:00 2001 From: byteZorvin Date: Mon, 9 Sep 2024 15:08:17 +0530 Subject: [PATCH] added target in prettierignore --- .prettierignore | 1 + format.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.prettierignore b/.prettierignore index 6b95c67..dd04446 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,5 @@ # Ignore artifacts: build coverage +target dependencies diff --git a/format.js b/format.js index e53b12f..1a65a98 100644 --- a/format.js +++ b/format.js @@ -3,8 +3,7 @@ const fs = require("fs"); let file = process.argv[2]; console.log(file); -const data = JSON.parse(fs.readFileSync(file, - "utf8")); +const data = JSON.parse(fs.readFileSync(file, "utf8")); data.public_memory = data.public_memory.map((e) => ({ ...e, value: `0x${e.value}`,