mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
@@ -1373,7 +1373,7 @@ export class CommandCenter {
|
||||
const choice = await window.showQuickPick(picks, { placeHolder });
|
||||
|
||||
if (!choice) {
|
||||
throw new Error('Cancelled');
|
||||
return;
|
||||
}
|
||||
|
||||
await choice.run(repository);
|
||||
@@ -1948,10 +1948,6 @@ export class CommandCenter {
|
||||
this.telemetryReporter.sendTelemetryEvent('git.command', { command: id });
|
||||
|
||||
return result.catch(async err => {
|
||||
if (err.message === 'Cancelled') {
|
||||
return;
|
||||
}
|
||||
|
||||
const options: MessageOptions = {
|
||||
modal: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user