aboutsummaryrefslogtreecommitdiff
path: root/lib/detectLocalGit.js
diff options
context:
space:
mode:
authorNick Merwin <[email protected]>2019-11-20 17:20:24 -0800
committerNick Merwin <[email protected]>2019-11-20 17:20:24 -0800
commitee636f60ff1ca59737dcbeff55c64fd0e80d305a (patch)
tree1f77b21e94fe07d2286a1af04d71483b03e41d15 /lib/detectLocalGit.js
parent571b38ae706820d2fdfba1edca03d60c2230223c (diff)
downloadnode-coveralls-ee636f60ff1ca59737dcbeff55c64fd0e80d305a.tar.xz
node-coveralls-ee636f60ff1ca59737dcbeff55c64fd0e80d305a.zip
fix typos
Diffstat (limited to 'lib/detectLocalGit.js')
-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;
}