aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/detectLocalGit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/detectLocalGit.js b/lib/detectLocalGit.js
index 16275f2..1e3ff38 100644
--- a/lib/detectLocalGit.js
+++ b/lib/detectLocalGit.js
@@ -12,7 +12,7 @@ function detectLocalGit() {
while (path.resolve('/') !== dir) {
gitDir = path.join(dir, '.git');
- if (fs.existsSync(path.join(gitDir, 'HEAD')))
+ if (fs.existsSync(path.join(gitDir, 'HEAD'))) {
break;
}