提交 58fe02e7 编写于 作者: J Joao Moreno

Revert "cancelled git.checkout"

This reverts commit a4885690.
上级 77c8657a
...@@ -1373,7 +1373,7 @@ export class CommandCenter { ...@@ -1373,7 +1373,7 @@ export class CommandCenter {
const choice = await window.showQuickPick(picks, { placeHolder }); const choice = await window.showQuickPick(picks, { placeHolder });
if (!choice) { if (!choice) {
throw new Error('Cancelled'); return;
} }
await choice.run(repository); await choice.run(repository);
...@@ -1948,10 +1948,6 @@ export class CommandCenter { ...@@ -1948,10 +1948,6 @@ export class CommandCenter {
this.telemetryReporter.sendTelemetryEvent('git.command', { command: id }); this.telemetryReporter.sendTelemetryEvent('git.command', { command: id });
return result.catch(async err => { return result.catch(async err => {
if (err.message === 'Cancelled') {
return;
}
const options: MessageOptions = { const options: MessageOptions = {
modal: true modal: true
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册