Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 9dcef3c

Browse files
committed
fallback to object if no cache
1 parent 767ba09 commit 9dcef3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,10 @@ module.exports = function(input, map) {
155155
if (err) {
156156
return callback(err)
157157
}
158-
printLinterOutput(res, config, webpack)
158+
printLinterOutput(res || {}, config, webpack)
159159
return callback(null, input, map)
160160
})
161161
}
162-
163162
printLinterOutput(
164163
lint(engine, input, resourcePath),
165164
config,

0 commit comments

Comments
 (0)