mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Error Handling for Downloaded Files
This commit is contained in:
parent
6fa2c779b5
commit
efb8f54fa1
1 changed files with 2 additions and 0 deletions
|
@ -449,6 +449,8 @@ gulp.task('buildnumber', function (done) {
|
|||
if (!err) {
|
||||
// Build number is the number of commits since base version
|
||||
buildNumber = stdout ? stdout.match(/\n/g).length : 0;
|
||||
} else {
|
||||
console.log('This is not a Git repository; using default build number.');
|
||||
}
|
||||
|
||||
console.log('Extension build number: ' + buildNumber);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue