Skip to content

Commit

Permalink
fix: race conditiion when saving package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Mar 29, 2022
1 parent a4ae34f commit cd3fee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class PackageJson extends JsonMerge {
return unset(pkg.content, keys)
}
})
pkg.save()
await pkg.save()
}
}

Expand Down

0 comments on commit cd3fee9

Please # to comment.