mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 11:19:32 +00:00
Organize imports should interupt geterr
UI operations like organize imports have higher priority than geterr
This commit is contained in:
@@ -46,7 +46,7 @@ class OrganizeImportsCommand implements Command {
|
||||
}
|
||||
}
|
||||
};
|
||||
const response = await this.client.execute('organizeImports', args, nulToken);
|
||||
const response = await this.client.interruptGetErr(() => this.client.execute('organizeImports', args, nulToken));
|
||||
if (response.type !== 'response' || !response.body) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user