Open BrianHenryIE opened 8 months ago
Thanks for the report, @BrianHenryIE !
The broken symlink shouldn't be fatal for dist-ignore-command.
This seems like a reasonable fix.
Is https://github.com/wp-cli/dist-archive-command/pull/91 a fix for this issue? If yes, should we close it? cc @danielbachhuber
Bug Report
Describe the current, buggy behavior
.distignore
Project files:
Describe what you would expect as the correct outcome
It should handle this gracefully – it should only be scanning the excluded directories for
.distignore
files that act to include a subdir of an included dir. The broken symlink shouldn't be fatal for dist-ignore-command.Let us know what environment you are running this on
Provide a possible solution
I was already aware that it's inefficiently scanning – when improving that it should be easy to gracefully skip over broken symlinks too.