Skip to content

Commit

Permalink
Optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 committed May 12, 2016
1 parent ceefa45 commit 8e25c8c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/logger.js
Expand Up @@ -133,19 +133,19 @@ module.exports.callbacks = {
logUrls(bs.options.get("urls").toJS());
}

if (type === "snippet" && bs.options.get("logSnippet")) {
if (type === "snippet") {

logger.info(
"{bold:Copy the following snippet into your website, " +
"just before the closing {cyan:</body>} tag"
);
if (bs.options.get("logSnippet")) {

logger.unprefixed("info",
messages.scriptTags(bs.options)
);
}
logger.info(
"{bold:Copy the following snippet into your website, " +
"just before the closing {cyan:</body>} tag"
);

if (type === "snippet") {
logger.unprefixed("info",
messages.scriptTags(bs.options)
);
}

logUrls(bs.options.get("urls").filter(function (value, key) {
return key.slice(0, 2) === "ui";
Expand Down

0 comments on commit 8e25c8c

Please sign in to comment.