From fca117f7ea1ba3147021e47d200f1944740b5cc5 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Tue, 19 Sep 2023 11:34:51 +0300 Subject: [PATCH] Indet `newContent` Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6c713ec..1a3e425 100644 --- a/index.js +++ b/index.js @@ -87,7 +87,7 @@ async function commitChanges(file, filePath) { const blobResponse = await axios.post( `https://api.github.com/repos/${owner}/${repo}/git/blobs`, { - content: JSON.stringify(newContent), + content: JSON.stringify(newContent, null, 2), encoding: 'utf-8', }, {