We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9f4fce commit 05e6a5bCopy full SHA for 05e6a5b
packages/core/src/browser/shell/application-shell.ts
@@ -574,13 +574,7 @@ export class ApplicationShell extends Widget {
574
// the files were dragged from the outside the workspace
575
Array.from(event.dataTransfer.files).forEach(file => {
576
if (file.path) {
577
- const fileUri = URI.fromComponents({
578
- scheme: 'file',
579
- path: file.path,
580
- authority: '',
581
- query: '',
582
- fragment: ''
583
- });
+ const fileUri = URI.fromFilePath(file.path);
584
openUri(fileUri);
585
}
586
});
0 commit comments