Skip to content

Commit

Permalink
vscode does not open remote files that start with a dot. Fixes micros…
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Aug 14, 2020
1 parent 613320a commit 194db62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ export class WindowsMainService extends Disposable implements IWindowsMainServic
if (forceOpenWorkspaceAsFile) {
return { fileUri: uri, remoteAuthority };
}
} else if (posix.extname(anyPath).length > 0) {
} else if (posix.basename(anyPath).indexOf('.') !== -1) { // file name starts with a dot or has an file extension
return { fileUri: uri, remoteAuthority };
}
}
Expand Down

0 comments on commit 194db62

Please sign in to comment.