1
0
Fork 0
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:
Jonas Jenwald 2016-12-12 20:18:48 +01:00
parent 86ba634c97
commit c36468cbce
7 changed files with 8 additions and 8 deletions

View file

@ -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);
}