Skip to content
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

Remove quote around $INPUT_PRETTIER_FLAGS to pass flags correctly #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rokoucha
Copy link

I'm trying to use reviewdog-action-prettier in my project which uses yarn workspaces but It did not work as expected because the prettier_flags option will be passed to prettier as concreted to one argument.

This PR fixes an issue where prettier_flags were incorrectly passed without being split.

@rokoucha rokoucha force-pushed the fix-prettier-flags-quoting branch from 550df9c to b9b30a5 Compare September 19, 2023 06:37
@bendoerr
Copy link

I'd love to see this integrated

@mscrivo
Copy link

mscrivo commented Sep 26, 2024

Would love to see this one merged as well. Was banging my head against this for hours trying to figure out why I couldn't run the action with a list of changed files and it's because of the quoting.

EDIT: Looks like the quotes were added because of shellcheck linting: 64e7c93 .. oh the irony of it all :)

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.

3 participants