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

Error when trying to set BADGES_ARGS: '-l "" #1

Open
george-gca opened this issue Jan 3, 2024 · 0 comments
Open

Error when trying to set BADGES_ARGS: '-l "" #1

george-gca opened this issue Jan 3, 2024 · 0 comments

Comments

@george-gca
Copy link

Thanks for the great GitHub action.

I tried to change the badge to the plastic style without a word at the front, but it throwed an error. Apparently it has problem with "", as can be seen in the line:

RESULTS_PATH=`expr "-b plastic -l "" -o lighthouse_results -r" : ".* --\?ou\?t\?p\?u\?t\?-\?p\?a\?t\?h\? \([^ ]*\).*"`;

It already uses "" to give the expr. Is there a way to overcome this? Tried to change the line to

BADGES_ARGS: "-b plastic -l '' -o lighthouse_results -r"

but to no avail.

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

No branches or pull requests

1 participant