Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Oct 1, 2018
1 parent f09ce83 commit 0eb1db3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/installer/index.ts
Expand Up @@ -173,6 +173,7 @@ export function install(
return
}

// Create hooks directory if doesn't exist
if (!fs.existsSync(path.join(resolvedGitDir, 'hooks'))) {
fs.mkdirSync(path.join(resolvedGitDir, 'hooks'))
}
Expand Down

0 comments on commit 0eb1db3

Please sign in to comment.