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

Commit da819f4

Browse files
author
Alessandro Biavati
committed
fixed line-length
1 parent 95c316e commit da819f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ function lint(input, config, webpack, callback) {
7272
if (emitter) {
7373
emitter(messages)
7474
if (config.failOnError && res.errorCount) {
75-
throw new Error("Module failed because of a eslint error.\n" + messages)
75+
throw new Error("Module failed because of a eslint error.\n"
76+
+ messages)
7677
}
7778
else if (config.failOnWarning && res.warningCount) {
78-
throw new Error("Module failed because of a eslint warning.\n" + messages)
79+
throw new Error("Module failed because of a eslint warning.\n"
80+
+ messages)
7981
}
8082
}
8183
else {

0 commit comments

Comments
 (0)