         @dubPath = newValue
 
     lint: (textEditor) =>
+      that = this
       return new Promise (resolve, reject) =>
         output = ""
         args = ["build", "--nodeps", "--combined", "-q"]

            dismissable: true
          handle()
          resolve []


# path(lineNumber): (Deprecation|Warning|Error): <message>
dubErrorFormat = /(.*?)\((\d+),(\d+)\): (Deprecation|Warning|Error): (.*)/g;
dubErrorFormatCont = /(.*?)\((\d+),(\d+)\): (.*)/g;
wordLengthFormat = /^((?:[^\s\w]+)?\w+\b)/; # (optional special characters) + word until word boundary

module.exports =
  class DubLinter
