mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix isProjectAtRoot
This commit is contained in:
@@ -205,7 +205,7 @@ class GitRepository {
|
||||
// repository.
|
||||
isProjectAtRoot () {
|
||||
if (this.projectAtRoot == null) {
|
||||
this.projectAtRoot = this.project && this.project.relativize(this.getWorkingDirectory())
|
||||
this.projectAtRoot = this.project && this.project.relativize(this.getWorkingDirectory()) === ''
|
||||
}
|
||||
return this.projectAtRoot
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user