Skip to content

Commit

Permalink
Add missing await to rootEditablePkgJson.save() call
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jan 8, 2025
1 parent dd1a985 commit 959c5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void (async () => {
rootEditablePkgJson.update({
engines: { node: `^${current} || >=${next}` }
})
rootEditablePkgJson.save()
await rootEditablePkgJson.save()

await runScript('update:package-lock', ['--', '--force'], {
cwd: rootPath,
Expand Down

0 comments on commit 959c5bf

Please sign in to comment.