mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
ESlint: enable no-async-promise-executor (#134873)
This commit is contained in:
@@ -140,6 +140,7 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
|
||||
isExtensionOwnedTerminal: launchConfig.isExtensionOwnedTerminal,
|
||||
useShellEnvironment: launchConfig.useShellEnvironment,
|
||||
};
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
const terminal = new Promise<ITerminalInstance>(async r => {
|
||||
const terminal = await this._terminalService.createTerminal({
|
||||
config: shellLaunchConfig,
|
||||
|
||||
Reference in New Issue
Block a user