                 ]
 
           process.onWillThrowError ({error,handle}) ->
-            atom.notifications.addError "Failed to run #{@executablePath}",
+            atom.notifications.addError "Failed to run #{executablePath}",
               detail: "#{error.message}"
               dismissable: true
             handle()

        return new Promise (resolve, reject) =>
          filePath = textEditor.getPath()
          lines = []
          options =
            cwd: atom.project.getPaths()[0]
            env: proc.env
          process = new BufferedProcess
            command: @executablePath
            args: [filePath, '--warn', '--report=json']
            options: options
            stdout: (data) ->

      title: 'The elm-make executable path.'
      type: 'string'
      default: 'elm-make'

  provideLinter: ->
    proc = process
