File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,19 +133,19 @@ module.exports.callbacks = {
133133 logUrls ( bs . options . get ( "urls" ) . toJS ( ) ) ;
134134 }
135135
136- if ( type === "snippet" && bs . options . get ( "logSnippet" ) ) {
136+ if ( type === "snippet" ) {
137137
138- logger . info (
139- "{bold:Copy the following snippet into your website, " +
140- "just before the closing {cyan:</body>} tag"
141- ) ;
138+ if ( bs . options . get ( "logSnippet" ) ) {
142139
143- logger . unprefixed ( " info" ,
144- messages . scriptTags ( bs . options )
145- ) ;
146- }
140+ logger . info (
141+ "{bold:Copy the following snippet into your website, " +
142+ "just before the closing {cyan:</body>} tag"
143+ ) ;
147144
148- if ( type === "snippet" ) {
145+ logger . unprefixed ( "info" ,
146+ messages . scriptTags ( bs . options )
147+ ) ;
148+ }
149149
150150 logUrls ( bs . options . get ( "urls" ) . filter ( function ( value , key ) {
151151 return key . slice ( 0 , 2 ) === "ui" ;
You can’t perform that action at this time.
0 commit comments