Skip to content

Commit

Permalink
fix: only update package.json when updating packageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 16, 2024
1 parent 2082b60 commit 8f2ac23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-pm.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fs.writeFileSync(path.resolve(__dirname, "../package.json"), JSON.stringify(pack

// commit to repo
try {
execSync("git add . && git commit -m 'Update package.json with pnpm version'");
execSync("git add ./package.json && git commit -m 'Update package.json with pnpm version'");
} catch {
// no changesets to be applied
}

0 comments on commit 8f2ac23

Please sign in to comment.