Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jan 29, 2019
1 parent 9105002 commit 9904a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-config/src/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const normalizeCollectCoverageFrom = (options: InitialOptions, key: string) => {
value = JSON.parse(options[key]);
} catch (e) {}

if (value && !Array.isArray(value)) {
if (options[key] && !Array.isArray(value)) {
value = [options[key]];
}
} else {
Expand Down

0 comments on commit 9904a83

Please sign in to comment.