Make linter happy

This commit is contained in:
Daniel Hengeveld
2016-01-09 12:22:54 -08:00
parent ed64abaede
commit 9d4e9cab5b

View File

@@ -165,7 +165,7 @@ export default class GitRepositoryAsync {
const workingDirectory = repo.workdir()
let openedWorkingDirectory = null
const opened = this.openedPath.replace(/\/\.git$/, '')
if (path.relative(opened, workingDirectory) != '') {
if (path.relative(opened, workingDirectory) !== '') {
openedWorkingDirectory = opened
}
return this.relativize(_path, workingDirectory, openedWorkingDirectory)