Skip to content

Commit

Permalink
Editor: silence ESLint warning on console usage
Browse files Browse the repository at this point in the history
This one is being used legitimately on purpose.
  • Loading branch information
julen committed Jul 13, 2016
1 parent e3f2a38 commit 7359df7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pootle/static/js/editor/app.js
Expand Up @@ -2223,6 +2223,7 @@ PTL.editor = {
fetch({ url: tmUrl, crossDomain: true })
.then(
(data) => this.handleTmResults(data, store, unit),
// eslint-disable-next-line no-console
(xhr, s) => console.error(`HTTP ${xhr.status} (${s}): ${tmUrl}`)
);
},
Expand Down

0 comments on commit 7359df7

Please sign in to comment.