Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jul 2, 2019
1 parent d8c9f9f commit b6835ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/runner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export default async function run(
if (command) {
console.log(`husky > ${hookName} (node ${process.version})`)
execa.shellSync(command, { cwd, env, stdio: 'inherit' })
return 0
}

if (oldCommand) {
Expand All @@ -82,7 +81,6 @@ export default async function run(
console.log()
console.log(`husky > ${hookName} (node ${process.version})`)
execa.shellSync(oldCommand, { cwd, env, stdio: 'inherit' })
return 0
}

return 0
Expand Down

0 comments on commit b6835ee

Please sign in to comment.