Skip to content

Commit

Permalink
Small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 9, 2019
1 parent cff8357 commit 7c13799
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const execCommand = async function(input, opts) {
try {
return await execa(input, opts)
} catch (error) {
const errorA = getError({ error, input, opts })
throw errorA
throw getError({ error, input, opts })
}
}

0 comments on commit 7c13799

Please sign in to comment.