build: fix publish-to-npm script post requests migration

This commit is contained in:
Samuel Attard 2021-08-13 13:26:27 -07:00
parent a11a234eac
commit 0c1f762119
No known key found for this signature in database
GPG key ID: FB94249299E904FE
2 changed files with 3 additions and 1 deletions

View file

@ -100,6 +100,8 @@ new Promise((resolve, reject) => {
);
fs.writeFileSync(path.join(tempDir, 'electron.d.ts'), typingsContent);
return release;
})
.then(async (release) => {
const currentBranch = await getCurrentBranch();