Merge pull request #7 from mikemaccana/patch-1
Remove log spam if latest version installed
This commit is contained in:
commit
d9cbaa7b8e
|
@ -7,7 +7,7 @@ var fs = require('fs')
|
||||||
;
|
;
|
||||||
|
|
||||||
if (!fs.existsSync(latestFile)) {
|
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');
|
module.exports = require('./ssl-root-cas');
|
||||||
generate(latestFile).then(function () {
|
generate(latestFile).then(function () {
|
||||||
console.info('\n');
|
console.info('\n');
|
||||||
|
@ -25,6 +25,5 @@ if (!fs.existsSync(latestFile)) {
|
||||||
console.warn('');
|
console.warn('');
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.log('has latest');
|
|
||||||
module.exports = require('./ssl-root-cas-latest');
|
module.exports = require('./ssl-root-cas-latest');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue