From ed1e5579c9fb0958c406345caae54ac6bad77235 Mon Sep 17 00:00:00 2001 From: Mike MacCana Date: Tue, 29 Jul 2014 15:25:12 +0100 Subject: [PATCH] Remove log spam if latest version installed Installed a recent version of this package and noticed my app kept saying 'has latest' on boot. Also change 'needs latest' to mention what's actually needed. --- latest.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/latest.js b/latest.js index 048e301..9403356 100644 --- a/latest.js +++ b/latest.js @@ -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'); }