Skip to content

Commit

Permalink
don't path an editor path
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Oct 28, 2019
1 parent dae8780 commit 56aa3d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/runtime/goto.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Goto {
// module context
const currentModule = modules.current()
const mod = currentModule ? currentModule : 'Main'
const text = editor.getText() // buffer text that will be used for fallback entry
const text = editor.getText() // will be used as a fallback entry, e.g.: when in Main module

gotoSymbol({
word,
Expand Down
3 changes: 1 addition & 2 deletions lib/runtime/refactor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use babel'
/** @babel */

import { client } from '../connection'
import modules from './modules'
Expand Down Expand Up @@ -53,7 +53,6 @@ class Refactor {
old,
full,
new: _new,
path: editor.getPath(),
// local context
column: column + 1,
row: row + 1,
Expand Down

0 comments on commit 56aa3d5

Please sign in to comment.