Fix the set-version script

Call the right function to set package version and await
This commit is contained in:
David Baker 2020-02-27 17:34:34 +00:00
parent 18dbad4e8c
commit 67a4c99907

View file

@ -69,8 +69,8 @@ async function main(args) {
if (version === undefined) version = await versionFromAsar();
if (setPkg) setDebVersion(version);
if (setDeb) setDebVersion(version);
if (setPkg) await setPackageVersion(version);
if (setDeb) await setDebVersion(version);
}
if (require.main === module) {