From 382cb5dd45b5bdee520810e3e40e5618b87b9fae Mon Sep 17 00:00:00 2001 From: Michael Padon Date: Thu, 6 Sep 2018 14:27:06 -0500 Subject: [PATCH] Remove logging when percy is not running --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1d7d694e..083320b1 100644 --- a/index.js +++ b/index.js @@ -55,6 +55,7 @@ module.exports = { _clientInfo: function() { if(!this._clientInfoCache) { + // eslint-disable-next-line node/no-missing-require var version = require('./package.json').version; this._clientInfoCache = `${this.name}/${version}`; } @@ -164,7 +165,6 @@ module.exports = { }); } else { isPercyEnabled = false; - console.warn('[percy] Percy is not running.'); if (!token) { console.warn( '[percy][WARNING] Percy is disabled, no PERCY_TOKEN environment variable found.')