From cd3fee91d8bf54d6bd9b71406b9282c19aae0689 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Tue, 29 Mar 2022 15:27:33 -0700 Subject: [PATCH] fix: race conditiion when saving package.json --- lib/util/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/parser.js b/lib/util/parser.js index e1c7f56a..f4117280 100644 --- a/lib/util/parser.js +++ b/lib/util/parser.js @@ -249,7 +249,7 @@ class PackageJson extends JsonMerge { return unset(pkg.content, keys) } }) - pkg.save() + await pkg.save() } }