Organize imports should interupt geterr

UI operations like organize imports have higher priority than geterr
This commit is contained in:
Matt Bierner
2019-04-17 11:45:53 -07:00
parent 16944f3c4a
commit a538f095af

View File

@@ -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;
}