mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Fixes lint warning W004 in src/shared
This commit is contained in:
parent
a71a87a821
commit
10f80bda23
6 changed files with 60 additions and 47 deletions
|
@ -28,8 +28,6 @@ module.exports = {
|
|||
var err = r.error;
|
||||
|
||||
switch (err.code) {
|
||||
case 'W004': // variable is already defined
|
||||
break;
|
||||
default:
|
||||
len++;
|
||||
str += file + ': line ' + err.line + ', col ' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue