mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 18:48:33 -05:00
Merge from vscode 17c6d123d212f90300429ecad3fc96fcec6e338f (#9423)
This commit is contained in:
@@ -297,6 +297,8 @@ export class SimpleFileDialog {
|
||||
|
||||
function doResolve(dialog: SimpleFileDialog, uri: URI | undefined) {
|
||||
if (uri) {
|
||||
uri = resources.addTrailingPathSeparator(uri, dialog.separator); // Ensures that c: is c:/ since this comes from user input and can be incorrect.
|
||||
// To be consistent, we should never have a trailing path separator on directories (or anything else). Will not remove from c:/.
|
||||
uri = resources.removeTrailingPathSeparator(uri);
|
||||
}
|
||||
resolve(uri);
|
||||
|
||||
Reference in New Issue
Block a user