Skip to content

Commit

Permalink
fix: rename _ to error to avoid shadowing lodash
Browse files Browse the repository at this point in the history
fixes #305
  • Loading branch information
AndreasPizsa authored and gr2m committed Nov 3, 2019
1 parent 91d921d commit d2b48b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = async function(pkg, info) {

try {
await request.head(repoUrl);
} catch (_) {
} catch (error /* eslint-disable-line no-unused-vars */) {
const answers = await inquirer.prompt([
{
type: 'confirm',
Expand Down

0 comments on commit d2b48b0

Please sign in to comment.