Skip to content

Commit

Permalink
Fix spyd dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Feb 13, 2022
1 parent f761209 commit c0ca82a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/report/config/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export const normalizeReporters = function (
{ reporter: reporters, ...config },
command,
) {
if (reporters === undefined) {
return config
}

const reportersA = reporters.filter((reporter) =>
shouldUseReporter(reporter, command),
)
Expand Down

0 comments on commit c0ca82a

Please sign in to comment.