Skip to content

Commit 9aef4a1

Browse files
committed
remove check about remote
1 parent 46f7c0b commit 9aef4a1

File tree

1 file changed

+0
-10
lines changed
  • vscode-extensions/playwright-on-codespaces-vscode-extension/src

1 file changed

+0
-10
lines changed

vscode-extensions/playwright-on-codespaces-vscode-extension/src/extension.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ const EXTENSION_DISPLAY_NAME: string = 'Playwright on Codespaces';
99
let terminal: Terminal;
1010

1111
export function activate(context: vscode.ExtensionContext): void {
12-
// Check if running in remote environment
13-
if (vscode.env.remoteName) {
14-
void vscode.window.showErrorMessage(
15-
`Playwright on Codespaces extension is running remotely (${vscode.env.remoteName}). ` +
16-
'This extension must run locally to display browsers on your machine. ' +
17-
'Please install it as a local extension only.'
18-
);
19-
return;
20-
}
21-
2212
// Setup Logging Terminal
2313
const outputChannel: vscode.OutputChannel = vscode.window.createOutputChannel(EXTENSION_DISPLAY_NAME);
2414
const terminalProvider: VScodeOutputChannelTerminalProvider = new VScodeOutputChannelTerminalProvider(

0 commit comments

Comments
 (0)