Skip to content

Commit ba84e22

Browse files
committed
[INTERNAL] Change 'verbose' logs to 'silly'
1 parent 6386330 commit ba84e22

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/lbt/bundle/Builder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ class BundleBuilder {
578578
}
579579
} else {
580580
const sourceMapFileCandidate = resourcePath.slice("/resources/".length) + ".map";
581-
log.verbose(`Could not find a sourceMappingURL reference in content of module ${moduleName}. ` +
581+
log.silly(`Could not find a sourceMappingURL reference in content of module ${moduleName}. ` +
582582
`Attempting to find a source map resource based on the module's path: ${sourceMapFileCandidate}`);
583583
try {
584584
const sourceMapResource = await this.pool.findResource(sourceMapFileCandidate);
@@ -587,7 +587,7 @@ class BundleBuilder {
587587
}
588588
} catch (e) {
589589
// No input source map
590-
log.verbose(`Could not find a source map for module ${moduleName}: ${e.message}`);
590+
log.silly(`Could not find a source map for module ${moduleName}: ${e.message}`);
591591
}
592592
}
593593

test/lib/lbt/bundle/Builder.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,11 @@ ${SOURCE_MAPPING_URL}=bootstrap.js.map
680680
});
681681

682682
test.serial("integration: createBundle with bundleInfo", async (t) => {
683+
const sillyLogStub = sinon.stub();
683684
const verboseLogStub = sinon.stub();
684685
const warnLogStub = sinon.stub();
685686
const myLoggerInstance = {
687+
silly: sillyLogStub,
686688
verbose: verboseLogStub,
687689
warn: warnLogStub
688690
};

0 commit comments

Comments
 (0)