Skip to content

Commit 1375229

Browse files
committed
don't path an editor path
1 parent 7bdf574 commit 1375229

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
@@ -101,7 +101,7 @@ class Goto {
101101
// module context
102102
const currentModule = modules.current()
103103
const mod = currentModule ? currentModule : 'Main'
104-
const text = editor.getText() // buffer text that will be used for fallback entry
104+
const text = editor.getText() // will be used as a fallback entry, e.g.: when in Main module
105105

106106
gotoSymbol({
107107
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)