mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Issue #2654 - Lint with Travis-CI
This commit is contained in:
parent
43d6c6f1ab
commit
442bd8bd5a
4 changed files with 21 additions and 1 deletions
|
@ -23,6 +23,9 @@ module.exports = {
|
|||
if (str) {
|
||||
process.stdout.write(str + "\n" + len + " error" +
|
||||
((len === 1) ? "" : "s") + "\n");
|
||||
process.exit(2);
|
||||
} else {
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue