 
   doCheckOrLintBuffer: (cmd, buffer, fast) =>
     return Promise.resolve [] if buffer.isEmpty()
-    rootDir = @backend.getRootDir(buffer)
+    rootDir = @getRootDir(buffer)
     new Promise (resolve, reject) =>
       @queueCmd 'checklint',
         interactive: fast

          {name, typeSignature, symbolType}

  getTypeInBuffer: (buffer, crange) =>
    rootDir = @backend.getRootDir(buffer)

    new Promise (resolve, reject) =>
      @queueCmd 'typeinfo',

  findSymbolProvidersInBuffer: (buffer, crange, callback) =>
    {symbol} = Util.getSymbolInRange(/[\w']*/, buffer, crange)

    rootDir = @getRootDir(buffer)

    @queueCmd 'find',
      options: Util.getProcessOptions(rootDir.getPath())
