Skip to content

Commit

Permalink
Merge pull request #8 from KentarouTakeda/hotfix-1.3.1
Browse files Browse the repository at this point in the history
fix: config filter does not evaluate null collectly
  • Loading branch information
KentarouTakeda authored Dec 28, 2023
2 parents bc947d0 + 703beb8 commit cbef114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const mergeConfig = (
): PluginConfig => ({
...defaultConfig,
...Object.fromEntries(
Object.entries(config).filter((_, value) => null != value),
Object.entries(config).filter(([_, value]) => null != value),
),
});

Expand Down

0 comments on commit cbef114

Please sign in to comment.