Skip to content

Commit c60481e

Browse files
committed
Change version-bump.mjs to use double space instead of tab for json files
1 parent 2059149 commit c60481e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

version-bump.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const targetVersion = process.env.npm_package_version;
66
let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
77
const { minAppVersion } = manifest;
88
manifest.version = targetVersion;
9-
writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t"));
9+
writeFileSync("manifest.json", JSON.stringify(manifest, null, " "));
1010

1111
// update versions.json with target version and minAppVersion from manifest.json
1212
let versions = JSON.parse(readFileSync("versions.json", "utf8"));
1313
versions[targetVersion] = minAppVersion;
14-
writeFileSync("versions.json", JSON.stringify(versions, null, "\t"));
14+
writeFileSync("versions.json", JSON.stringify(versions, null, " "));

0 commit comments

Comments
 (0)