mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 07:38:07 +02:00
Fix errors reported by the keyword-spacing
ESLint rule
http://eslint.org/docs/rules/keyword-spacing
This commit is contained in:
parent
86ba634c97
commit
c36468cbce
7 changed files with 8 additions and 8 deletions
|
@ -179,14 +179,14 @@ function main() {
|
|||
try {
|
||||
var baselineFile = fs.readFileSync(options.baseline).toString();
|
||||
baseline = flatten(JSON.parse(baselineFile));
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
console.log('Error reading file "' + options.baseline + '": ' + e);
|
||||
process.exit(0);
|
||||
}
|
||||
try {
|
||||
var currentFile = fs.readFileSync(options.current).toString();
|
||||
current = flatten(JSON.parse(currentFile));
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
console.log('Error reading file "' + options.current + '": ' + e);
|
||||
process.exit(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue