This changes the default deploy-exclude.txt file to behave the same as other lines in that file and only ignore the contrib directory for Drush commands.
Alternatives considered
The workaround is a custom deploy-exclude.txt file, but the only way to have this fixed in BLT is the proposed change.
Motivation
Fixes #4666
Proposed changes
This changes the default deploy-exclude.txt file to behave the same as other lines in that file and only ignore the contrib directory for Drush commands.
Alternatives considered
The workaround is a custom deploy-exclude.txt file, but the only way to have this fixed in BLT is the proposed change.
Testing steps
No need to test. You can simply see that this now only excludes the Drush commands that are installed by composer via the line in https://github.com/drupal/recommended-project/blob/9.1.x/composer.json#L46