         ret.push
           type: "Warning"
           text: reResult[3]
-          filePath: projectPath(textEditor) + '/' + reResult[1]
+          filePath: path.join(projectPath(textEditor), reResult[1])
           range: helpers.rangeFromLineNumber(textEditor, reResult[2] - 1)
         reResult = re.exec(toParse)
       ret


    isPhoenixProject = (textEditor) ->
      project = projectPath(textEditor)
      return false if not project
      mixLockPath = path.join(project, 'mix.lock')
      try
        mixLockContent = fs.readFileSync mixLockPath, 'utf-8'

      projPath = atom.project.relativizePath(editorPath)[0]
      if projPath?
        return projPath
      return path.dirname(editorPath)

    isMixProject = (textEditor) ->
      project = projectPath(textEditor)
      return fs.existsSync(path.join(project, 'mix.exs'))

    isTestFile = (textEditor) ->
      project = projectPath(textEditor)
      relativePath = path.relative(project, textEditor.getPath())
      relativePath.split(path.sep)[0] == 'test'

