wp-cli / dist-archive-command

Create a distribution .zip or .tar.gz based on a plugin or theme's .distignore file
https://developer.wordpress.org/cli/commands/dist-archive/
MIT License
47 stars 23 forks source link

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

Closed BrianHenryIE closed 2 years ago

BrianHenryIE commented 2 years ago

$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