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

Revert "Surround URL replacements option with quotes" #33

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

mtsmfm
Copy link
Contributor

@mtsmfm mtsmfm commented Apr 6, 2023

Reverts #31

I've noticed currently v2 with url-replacements option doesn't work #34

It seems its because of the difference between autify CLI and autify-with-proxy CLI, a wrapper command to use autify CLI within our CI for CI/CD integration plugins.

Both child_process.spawn and "${ARGS[@]}" can have a whitespace within arg but currently spawn has shell option.
It parses " but "${ARGS[@]}" passes arguments as-is. As a result given argumen is like --url-replacements "\"https://example.com https://example.net\"" on shell.

I'll remove the option autifyhq/autify-cli#394

@mtsmfm mtsmfm requested review from riywo and a team April 6, 2023 06:43
@mtsmfm mtsmfm marked this pull request as ready for review April 6, 2023 06:43
Copy link
Member

@hgsgtk hgsgtk 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 your investigation!

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

Successfully merging this pull request may close these issues.

2 participants