Skip to content

Commit

Permalink
Update installer messages (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed May 2, 2019
1 parent fc7012f commit 6457b52
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/installer/index.ts
Expand Up @@ -117,7 +117,7 @@ export function install(
requireRunNodePath: string = require.resolve('.bin/run-node'),
isCI: boolean
) {
console.log('husky > setting up git hooks')
console.log('husky > Setting up git hooks')

// First directory containing user's package.json
const userPkgDir = pkgDir.sync(path.join(huskyDir, '..'))
Expand Down Expand Up @@ -187,11 +187,13 @@ export function install(
const script = getScript(rootDir, huskyDir, requireRunNodePath)
createHooks(hooks, script)

console.log(`husky > done`)
console.log(`husky > Done`)
console.log('husky > Like husky? You can support the project on Patreon:')
console.log('husky > https://patreon.com/typicode ❤')
}

export function uninstall(huskyDir: string) {
console.log('husky > uninstalling git hooks')
console.log('husky > Uninstalling git hooks')
const userPkgDir = pkgDir.sync(path.join(huskyDir, '..'))
const resolvedGitDir = resolveGitDir(userPkgDir)

Expand All @@ -213,5 +215,5 @@ export function uninstall(huskyDir: string) {
const hooks = getHooks(resolvedGitDir)
removeHooks(hooks)

console.log('husky > done')
console.log('husky > Done')
}

0 comments on commit 6457b52

Please sign in to comment.