mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
Merge branch 'joao/esrp-errors'
This commit is contained in:
commit
9fb5da7d91
|
@ -76,9 +76,16 @@ export function main([esrpCliPath, type, cert, username, password, folderPath, p
|
|||
'-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) {
|
||||
main(process.argv.slice(2));
|
||||
process.exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue