Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove root detection to allow drush to run remotely (#438)
This fixes #426. By removing the directory detection and passthrough we remove the ability to run `drush` commands from the BLT project root and this will now need to be run from the `docroot` directory. However this allows Drush to correctly infer the `root` from defined aliases so if you set up a local drush alias you can still run `drush @local` from the BLT project root. This fixed issues I was having with running remote drush commands and I don't think it's necessary to detect and pass in the root directory with the `-r` option. This is working with global and local drush installs, ie. ``` ./drush.wrapper @Local status ./drush.wrapper @dev status ``` and ``` drush @Local status drush @dev status ```
- Loading branch information