You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
OS: Darwin 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103 arm64
Shell: /bin/zsh
PHP binary: /opt/homebrew/Cellar/[email protected]/8.0.30_1/bin/php
PHP version: 8.0.30
php.ini used: /opt/homebrew/etc/php/8.0/php.ini
MySQL binary: /opt/homebrew/bin/mysql
MySQL version: mysql from 11.1.2-MariaDB, client 15.2 for osx10.18 (arm64) using EditLine wrapper
SQL modes: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /Users/brianhenry/Sites/bh-wp-bitcoin-gateway
WP-CLI packages dir: /Users/brianhenry/.wp-cli/packages/
WP-CLI cache dir: /Users/brianhenry/.wp-cli/cache
WP-CLI global config:
WP-CLI project config: /Users/brianhenry/Sites/bh-wp-bitcoin-gateway/wp-cli.yml
WP-CLI version: 2.9.0
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.
The text was updated successfully, but these errors were encountered:
BrianHenryIE
changed the title
Fails when scanning symlinks
Fails when scanning broken symlinks
Nov 26, 2023
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.
The text was updated successfully, but these errors were encountered: