Merge from vscode ad407028575a77ea387eb7cc219b323dc017b686

This commit is contained in:
ADS Merger
2020-08-22 06:06:52 +00:00
committed by Anthony Dresser
parent 404260b8a0
commit 4ad73d381c
480 changed files with 14360 additions and 14122 deletions

View File

@@ -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 };
}
}