Skip to content

Commit dabe9d1

Browse files
committed
don't path an editor path
1 parent abfa5e4 commit dabe9d1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/runtime/goto.js

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 2 deletions
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)