Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwade committed Aug 5, 2021
1 parent dc91c70 commit 68ca0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linter/linter.js
Expand Up @@ -1306,7 +1306,7 @@ class Linter {
const text = ensureText(textOrSourceCode);
const preprocess = options.preprocess || (rawText => [rawText]);

const postprocess = options.postprocess || Array.prototype.flat.call;
const postprocess = options.postprocess || (messagesList => messagesList.flat());
const filterCodeBlock =
options.filterCodeBlock ||
(blockFilename => blockFilename.endsWith(".js"));
Expand Down

0 comments on commit 68ca0ac

Please sign in to comment.