Skip to content

Commit

Permalink
Update the thread loader test in errors (#4420)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofugaro authored and Timer committed May 9, 2018
1 parent 3aaddef commit 9843be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/formatWebpackMessages.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function formatMessage(message, isError) {
if (threadLoaderIndex !== -1) {
return;
}
if (line.indexOf('from thread-loader (worker') !== -1) {
if (/thread.loader/i.test(line)) {
threadLoaderIndex = index;
}
});
Expand Down

0 comments on commit 9843be5

Please sign in to comment.