mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
Merge branch 'joao/esrp-errors'
This commit is contained in:
@@ -76,9 +76,16 @@ export function main([esrpCliPath, type, cert, username, password, folderPath, p
|
|||||||
'-e', keyFile,
|
'-e', keyFile,
|
||||||
];
|
];
|
||||||
|
|
||||||
cp.spawnSync('dotnet', args, { stdio: 'inherit' });
|
try {
|
||||||
|
cp.execFileSync('dotnet', args, { stdio: 'inherit' });
|
||||||
|
} catch (err) {
|
||||||
|
console.error('ESRP failed');
|
||||||
|
console.error(err);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (require.main === module) {
|
if (require.main === module) {
|
||||||
main(process.argv.slice(2));
|
main(process.argv.slice(2));
|
||||||
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user