Skip to content

Commit

Permalink
fix: fix ignore speard
Browse files Browse the repository at this point in the history
  • Loading branch information
ASafaeirad committed Jun 9, 2024
1 parent 0007381 commit 0aeee70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { ignoreGlobs } = require('./globs');
*/
function compose(module, options) {
const config = module(options);
config.ignores = [config.ignores, ...options.ignores, ...ignoreGlobs];
config.ignores = [...(config.ignores ?? []), ...(options.ignores ?? []), ...(ignoreGlobs ?? [])];
return config;
}

Expand Down

0 comments on commit 0aeee70

Please sign in to comment.