Skip to content

Commit 56aa3d5

Browse files
committed
don't path an editor path
1 parent dae8780 commit 56aa3d5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/runtime/goto.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Goto {
8181
// module context
8282
const currentModule = modules.current()
8383
const mod = currentModule ? currentModule : 'Main'
84-
const text = editor.getText() // buffer text that will be used for fallback entry
84+
const text = editor.getText() // will be used as a fallback entry, e.g.: when in Main module
8585

8686
gotoSymbol({
8787
word,

lib/runtime/refactor.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use babel'
1+
/** @babel */
22

33
import { client } from '../connection'
44
import modules from './modules'
@@ -53,7 +53,6 @@ class Refactor {
5353
old,
5454
full,
5555
new: _new,
56-
path: editor.getPath(),
5756
// local context
5857
column: column + 1,
5958
row: row + 1,

0 commit comments

Comments
 (0)