Skip to content

Conversation

matilda-ray-kerria
Copy link
Contributor

Updated the biome_check and biome_ci function to correctly pass all arguments to the biome command.
This ensures that multiple arguments provided to biome_flags are properly forwarded.

The previous implementation ($1) only passed the first argument to biome, ignoring any additional arguments. Using $@ expands to all positional parameters, preserving multi-argument functionality.

# Before: Only "arg1" was passed
# biome_flags: --changed --since=REF
biome check --colors=off --write --changed 2>&1 1>/dev/null

# After: All arguments are passed
# biome_flags: --changed --since=REF
biome check --colors=off --write --changed --since=REF 2>&1 1>/dev/null

Copy link
Owner

@mongolyy mongolyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing

@mongolyy mongolyy merged commit d3890a5 into mongolyy:main Aug 24, 2025
13 checks passed
Copy link

🚀 [bumpr] Bumped!
New version:v2.2.0
Changes:v2.1.0...v2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants