Skip to content

Only parse --plugin-dirname parameter once. Fix #63#64

Merged
danielbachhuber merged 2 commits into
wp-cli:mainfrom
BrianHenryIE:Only-parse-`plugin-dirname`-parameter-once.-Fix-#63
Sep 1, 2022
Merged

Only parse --plugin-dirname parameter once. Fix #63#64
danielbachhuber merged 2 commits into
wp-cli:mainfrom
BrianHenryIE:Only-parse-`plugin-dirname`-parameter-once.-Fix-#63

Conversation

@BrianHenryIE
Copy link
Copy Markdown
Member

$archive_base is already determined at line 105, so it is unnecessary to parse $assoc_args['plugin-dirname'] a second time at this point.

Fix #63

`$archive_base` is already determined at line 105, so it is unnecessary to parse `$assoc_args['plugin-dirname']` a second time at this point.
@BrianHenryIE BrianHenryIE requested a review from a team as a code owner September 1, 2022 16:18
@danielbachhuber danielbachhuber added this to the 3.0.0 milestone Sep 1, 2022
@danielbachhuber danielbachhuber added bug command:dist-archive Related to 'dist-archive' command labels Sep 1, 2022
Copy link
Copy Markdown
Member

@danielbachhuber danielbachhuber 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!

@danielbachhuber danielbachhuber merged commit 8c04fdc into wp-cli:main Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug command:dist-archive Related to 'dist-archive' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when creating archive with GH actions using dev-main branch

2 participants