This commit is contained in:
Sosuke Suzuki committed 2023-07-05 21:52:17 +09:00
1 parent 4aef256147
commit 54ff009ec7
3 files changed
+49 -43

No files matched your search

+5 -8
View File
@@ -37,19 +37,16 @@ async function bump({
}
export default async function bumpPrettier(params) {
const {
dry,
// version
} = params;
const { dry, version } = params;
if (dry) {
return;
}
// await logPromise(
// "Installing Prettier",
// runYarn(["add", "--dev", `prettier@${version}`])
// );
await logPromise(
"Installing Prettier",
runYarn(["add", "--dev", `prettier@${version}`]),
);
await logPromise("Updating files", format());
await logPromise("Bump default branch version", bump(params));