Skip to content

Commit

Permalink
Remove logging when percy is not running
Browse files Browse the repository at this point in the history
  • Loading branch information
maprules1000 committed Sep 13, 2018
1 parent f5d0b35 commit 382cb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -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}`;
}
Expand Down Expand Up @@ -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.')
Expand Down

0 comments on commit 382cb5d

Please sign in to comment.