Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmerwin committed Nov 21, 2019
1 parent 571b38a commit ee636f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/detectLocalGit.js
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion test/getOptions.js
Expand Up @@ -645,7 +645,7 @@ function ensureLocalGitContext(options) {

while (path.resolve('/') !== dir) {
gitDir = path.join(dir, '.git');
if (fs.existsSync(path.join(gitDir, 'HEAD')))
if (fs.existsSync(path.join(gitDir, 'HEAD'))) {
break;
}

Expand Down

0 comments on commit ee636f6

Please sign in to comment.