mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 01:25:38 -05:00
Merge from vscode ad407028575a77ea387eb7cc219b323dc017b686
This commit is contained in:
committed by
Anthony Dresser
parent
404260b8a0
commit
4ad73d381c
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user