File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/remoteTunnel/electron-sandbox Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import { IPreferencesService } from 'vs/workbench/services/preferences/common/pr
31
31
import { IOpenerService } from 'vs/platform/opener/common/opener' ;
32
32
import { Action } from 'vs/base/common/actions' ;
33
33
import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService' ;
34
- import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace' ;
34
+ import { IWorkspaceContextService , isUntitledWorkspace } from 'vs/platform/workspace/common/workspace' ;
35
35
import { Schemas } from 'vs/base/common/network' ;
36
36
import { URI } from 'vs/base/common/uri' ;
37
37
import { joinPath } from 'vs/base/common/resources' ;
@@ -687,7 +687,7 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo
687
687
let resource ;
688
688
if ( folders . length === 1 ) {
689
689
resource = folders [ 0 ] . uri ;
690
- } else if ( workspace . configuration ) {
690
+ } else if ( workspace . configuration && ! isUntitledWorkspace ( workspace . configuration , this . environmentService ) ) {
691
691
resource = workspace . configuration ;
692
692
}
693
693
const link = URI . parse ( connectionInfo . link ) ;
You can’t perform that action at this time.
0 commit comments