Merge pull request #7 from mikemaccana/patch-1

Remove log spam if latest version installed
This commit is contained in:
AJ ONeal 2014-07-30 10:15:26 -07:00
commit d9cbaa7b8e
1 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,7 @@ var fs = require('fs')
;
if (!fs.existsSync(latestFile)) {
console.log('needs latest', latestFile);
console.log('Needs latest SSL Root Certificate Authority data', latestFile);
module.exports = require('./ssl-root-cas');
generate(latestFile).then(function () {
console.info('\n');
@ -25,6 +25,5 @@ if (!fs.existsSync(latestFile)) {
console.warn('');
});
} else {
console.log('has latest');
module.exports = require('./ssl-root-cas-latest');
}