Skip to content

Commit 9ee2404

Browse files
authored
Use modal dialog when in gitpod flex env (#112)
1 parent 634a16d commit 9ee2404

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Gitpod",
44
"description": "Gitpod Support",
55
"publisher": "gitpod",
6-
"version": "0.0.175",
6+
"version": "0.0.176",
77
"license": "MIT",
88
"icon": "resources/gitpod.png",
99
"repository": {

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export async function activate(context: vscode.ExtensionContext) {
5252
try {
5353
const params: SSHConnectionParams = JSON.parse(uri.query);
5454
const openNewWindow = 'Use New Window';
55-
vscode.window.showInformationMessage(`We cannot open Gitpod workspace on ${params.gitpodHost} from a Gitpod Flex environment window.`, openNewWindow)
55+
vscode.window.showWarningMessage(`We cannot open Gitpod workspace on ${params.gitpodHost} from a Gitpod Flex environment window.`, { modal: true }, openNewWindow)
5656
.then(action => {
5757
if (action === openNewWindow) {
5858
vscode.commands.executeCommand('vscode.newWindow', { remoteAuthority: null });

0 commit comments

Comments
 (0)