Skip to content

Commit

Permalink
fix: disable conditional console logs — Bolt core config not yet gett…
Browse files Browse the repository at this point in the history
…ing pulled in
  • Loading branch information
sghoweri committed Aug 24, 2018
1 parent 4b07507 commit bf3e0a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/build-tools/plugins/sassdoc-webpack-plugin.js
Expand Up @@ -57,15 +57,15 @@ class SassDocPlugin {
const oldData = getHash(BoltCache.get('sassdoc'));

if (oldData !== newData) {
if (config.verbosity > 3) {
console.log(`Sassdoc data has changed -- writing new file.`);
}
//if (config.verbosity > 3) {
// console.log(`Sassdoc data has changed -- writing new file.`);
//}
BoltCache.set('sassdoc', data);
writeSassdocFile(self.options.dest, data);
} else {
if (config.verbosity > 3) {
console.log(`Sassdoc data hasn't changed...`);
}
//if (config.verbosity > 3) {
// console.log(`Sassdoc data hasn't changed...`);
//}
}
} else {
// Otherwise write to disk + cache results the first time Sassdoc generates data
Expand Down

0 comments on commit bf3e0a6

Please sign in to comment.