Error Handling for Downloaded Files
This commit is contained in:
parent
6fa2c779b5
commit
efb8f54fa1
@ -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…
x
Reference in New Issue
Block a user