Skip to content

Commit cd3fee9

Browse files
committed
fix: race conditiion when saving package.json
1 parent a4ae34f commit cd3fee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class PackageJson extends JsonMerge {
249249
return unset(pkg.content, keys)
250250
}
251251
})
252-
pkg.save()
252+
await pkg.save()
253253
}
254254
}
255255

0 commit comments

Comments
 (0)