Skip to content

Commit 7a6ca47

Browse files
lukeedmichael-ciniawsky
authored andcommitted
fix(utils/createLogger): ensure quiet always takes precedence (options.quiet) (#1486)
1 parent 065978f commit 7a6ca47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/utils/createLogger.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ const log = require('webpack-log');
88
function createLogger (options) {
99
let level = options.logLevel || 'info';
1010

11-
if (options.quiet === true) {
12-
level = 'silent';
13-
}
14-
1511
if (options.noInfo === true) {
1612
level = 'warn';
1713
}
1814

15+
if (options.quiet === true) {
16+
level = 'silent';
17+
}
18+
1919
return log({
2020
name: 'wds',
2121
level,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy