Skip to content

Commit

Permalink
Update the drag into terminal path used to be the fsPath (#58460)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed Sep 11, 2018
1 parent 9849693 commit 8fb2958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export class TerminalPanel extends Panel {
let path: string;
const resources = e.dataTransfer.getData(DataTransfers.RESOURCES);
if (resources) {
path = URI.parse(JSON.parse(resources)[0]).path;
path = URI.parse(JSON.parse(resources)[0]).fsPath;
} else if (e.dataTransfer.files.length > 0) {
// Check if the file was dragged from the filesystem
path = URI.file(e.dataTransfer.files[0].path).fsPath;
Expand Down

0 comments on commit 8fb2958

Please sign in to comment.