Skip to content

Commit

Permalink
Fix no-catch-shadow linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Jun 11, 2019
1 parent 3f00046 commit 1c2aa05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"dev-build": "webpack --progress --mode development",
"dev-build-test": "npm run dev-build && npm run test",
"dev-start": "webpack-dev-server --config ./webpack.config.js --mode development",
"eslint": "eslint --max-warnings 11 --color -c .eslintrc.js --ext js,jsx .",
"eslint": "eslint --max-warnings 10 --color -c .eslintrc.js --ext js,jsx .",
"eslint-fix": "eslint --max-warnings 10 --color -c .eslintrc.js --ext js,jsx --fix .",
"jest-cov": "jest --coverage --colors --silent --runInBand",
"jest-ci": "jest --colors --silent --ci --runInBand --coverage --reporters=default --reporters=jest-junit && cat ./coverage/lcov.info | coveralls",
Expand Down
2 changes: 1 addition & 1 deletion src/components/editor/property/InputListLOC.jsx
Expand Up @@ -106,7 +106,7 @@ class InputListLOC extends Component {
const label = item.value['http://www.loc.gov/mads/rdf/v1#authoritativeLabel'][0]['@value']

opts.push({ id: newId, label, uri })
} catch (error) {
} catch (err) {
// Ignore
}
}
Expand Down

0 comments on commit 1c2aa05

Please sign in to comment.