We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
opts.level.*()
undefined
1 parent 051c1b7 commit be7964cCopy full SHA for be7964c
src/level.js
@@ -11,7 +11,7 @@ const { DEFAULT_LEVEL, LEVELS } = require('./constants')
11
const getLevel = function({ opts, name, error }) {
12
const level = result(opts.level[name], error)
13
14
- if (level === 'default') {
+ if (level === 'default' || level === undefined) {
15
return DEFAULT_LEVEL[name]
16
}
17
0 commit comments