Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Sep 27, 2018
1 parent fd5379c commit 998339e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/upgrader/index.ts
Expand Up @@ -50,10 +50,7 @@ export default function upgrade(cwd: string) {
if (script) {
delete pkg.scripts[name]
const newName = hookList[name]
hooks[newName] = script.replace(
/\bGIT_PARAMS\b/g,
'HUSKY_GIT_PARAMS'
)
hooks[newName] = script.replace(/\bGIT_PARAMS\b/g, 'HUSKY_GIT_PARAMS')
console.log(`moved scripts.${name} to husky.hooks.${newName}`)
}
})
Expand Down

0 comments on commit 998339e

Please sign in to comment.