mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Make linter happy
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user