Error Handling for Downloaded Files

This commit is contained in:
RonLek 2018-06-29 21:52:10 +05:30
parent 6fa2c779b5
commit efb8f54fa1

View File

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