Skip to content

Commit c6ca6f6

Browse files
authored
Update update-package-version.js (#14)
1 parent 3540fc0 commit c6ca6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-package-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const changeVersion = async (filePath, version) => {
99
const file = await promisifiedFsReadFile(filePath);
1010
const json = JSON.parse(file.toString());
1111
json.version = version;
12-
return promisifiedFsWriteFile(filePath, JSON.stringify(json, null, 4) + "\n");
12+
return promisifiedFsWriteFile(filePath, JSON.stringify(json, null, 2) + "\n");
1313
};
1414
const p = path.resolve(process.cwd(), "package.json");
1515

0 commit comments

Comments
 (0)