There was an error while loading. Please reload this page.
1 parent 30a8449 commit ca9f35aCopy full SHA for ca9f35a
lib/elixir-cmd-view.coffee
@@ -57,7 +57,8 @@ class ElixirCmdView extends View
57
atom.workspaceView.command 'elixir-cmd:kill-process', => @stop()
58
59
gotoFile: ({target: target}) ->
60
- atom.workspace.openSync target.getAttribute("file")
+ return unless file=target.getAttribute("file")
61
+ atom.workspace.openSync file
62
return unless (lineno = target.getAttribute("lineno"))
63
editor = atom.workspace.getActiveEditor()
64
editor.moveToTop()
0 commit comments