Skip to content

fix: Filter defaults not working as intended #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Feb 14, 2025

Re: preactjs/preact#4652 (comment)

14f22a1 bumped the default pattern from the JS script, but not in the action config, ergo, it was entirely ignored as the action always provided an input here.

pattern: getInput('pattern') || '**/dist/**/*.{js,mjs,cjs}',

Alternatively, we could drop the fallbacks from the JS script & move them into the action config. However, I imagine the option this PR takes is preferable for testing purposes as we don't have to copy the values from the YML file into our test config.

Copy link

Size Change: 0 B

Total Size: 76 kB

ℹ️ View Unchanged
Filename Size
index.js 76 kB

compressed-size-action

@rschristian rschristian merged commit bac7b04 into master Feb 14, 2025
2 checks passed
@rschristian rschristian deleted the fix/filters branch February 14, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants