mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: update to yarn v4 (#48993)
This commit is contained in:
committed by
GitHub
parent
ef8fad7d8e
commit
fe32528c50
@@ -211,6 +211,7 @@ new Promise<string>((resolve, reject) => {
|
||||
});
|
||||
})
|
||||
.then((tarballPath) => {
|
||||
// TODO: Remove NPX
|
||||
const existingVersionJSON = childProcess.execSync(`npx npm@7 view ${rootPackageJson.name}@${currentElectronVersion} --json`).toString('utf-8');
|
||||
// It's possible this is a re-run and we already have published the package, if not we just publish like normal
|
||||
if (!existingVersionJSON) {
|
||||
|
||||
Reference in New Issue
Block a user