Skip to content

Commit aa03ea3

Browse files
authored
Fix: for correct OS opens (#7)
1 parent 3c4f40b commit aa03ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/babel-plugin-open-source/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ if (typeof document !== 'undefined') {
55

66
event.preventDefault();
77
const { filename, start } = JSON.parse(event.target.dataset.source)
8-
window.open('vscode://file' + filename + ':' + start)
8+
window.open('vscode://file/' + filename + ':' + start)
99
})
1010
}

0 commit comments

Comments
 (0)