We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e80972 commit a0c2dc0Copy full SHA for a0c2dc0
src/Youch/index.js
@@ -46,7 +46,7 @@ class Youch {
46
}
47
fs.readFile(frame.fileName, 'utf-8', (error, contents) => {
48
if (!error && contents) {
49
- frame.contents = contents
+ frame.contents = contents
50
51
resolve()
52
})
@@ -188,7 +188,7 @@ class Youch {
188
if (!frame.fullPath) {
189
return
190
191
- const baseURL = `http://` + this.request.headers.host + '/_open'
+ const baseURL = `http://` + this.request.headers.host + '/__open-in-editor'
192
return baseURL + '?file=' + encodeURI(frame.fullPath) + ':' + (frame.getLineNumber() || 0) + ':' + (frame.getColumnNumber() || 0)
193
194
0 commit comments