Skip to content

Conversation

@outermedia-sol
Copy link

Added new Parameter -v to indicate to use Vendor parameter
If -v is added as parameter /../vendor/drush/drush/drush is added to the path
default for DRUSH is then /../vendor/drush/drush/drush

Only problem: could not get it to run with --config param. There was an error while checking is_drupal_root_dir. Therefore I just moved that setting to after this check.

`[preflight] Unable to parse at line 1 (near "<?php").``

outermedia-sol and others added 5 commits September 19, 2019 22:43
Added new Parameter -v to indicate to use Vendor parameter
If -v is added as parameter /../vendor/drush/drush/drush is added to the path
default for DRUSH is then <drupal root>/../vendor/drush/drush/drush

Only problem: could not get it to run with --config param. There was an error while checking is_drupal_root_dir. Therefore I just moved that setting to after this check. 

`[preflight] Unable to parse at line 1 (near "<?php").``
add check for vendor drush with new parameter
move check if drush command is installed after initializing the parameter
@daylicron
Copy link

@outermedia-sol Thank you very much for this. It is exactly what I was looking for, to fix our current problem! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants