There was an error while loading. Please reload this page.
1 parent 6b68396 commit c3fcb56Copy full SHA for c3fcb56
lib/elixir-cmd-view.coffee
@@ -176,7 +176,7 @@ class ElixirCmdView extends View
176
@pre "PATH: #{escape process.env.PATH}"
177
178
getCwd: ->
179
- atom.project.getPath()
+ atom.project.getPaths()[0]
180
181
stop: ->
182
# Kill existing process if available
lib/elixir-cmd.coffee
@@ -5,7 +5,7 @@ module.exports =
5
elixirCmdView: null
6
7
activate: (state) ->
8
- return unless fs.existsSync("#{atom.project.getPath()}/mix.exs")
+ return unless fs.existsSync("#{atom.project.getPaths()[0]}/mix.exs")
9
@elixirCmdView = new ElixirCmdView(state.elixirCmdViewState)
10
atom.workspaceView.on 'core:cancel core:close', (event) =>
11
@elixirCmdView?.close()
0 commit comments