From c60481e8117a1c92e6b7fc8e98521219e27a2f15 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Wed, 22 Jan 2025 17:49:54 +0100 Subject: [PATCH] Change version-bump.mjs to use double space instead of tab for json files --- version-bump.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version-bump.mjs b/version-bump.mjs index d409fa0..44f4474 100644 --- a/version-bump.mjs +++ b/version-bump.mjs @@ -6,9 +6,9 @@ const targetVersion = process.env.npm_package_version; let manifest = JSON.parse(readFileSync("manifest.json", "utf8")); const { minAppVersion } = manifest; manifest.version = targetVersion; -writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); +writeFileSync("manifest.json", JSON.stringify(manifest, null, " ")); // update versions.json with target version and minAppVersion from manifest.json let versions = JSON.parse(readFileSync("versions.json", "utf8")); versions[targetVersion] = minAppVersion; -writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); +writeFileSync("versions.json", JSON.stringify(versions, null, " "));