drupal-auto-update
drupal-auto-update copied to clipboard
Unreliable pm-updatestatus result
I'm finding the following line of code is returning a false positive result when module names are long. See the screenshot. Would another result format work better? of possibly using the --pipe
option instead?
PLUGIN_UPDATES="$(terminus drush $SITE_UUID.$TERMINUS_ENV -- pm-updatestatus --format=list | grep -v ok)"
BTW, thanks for this. There is real value in the concept.
PLUGIN_UPDATES="$(terminus drush $SITE_UUID.$TERMINUS_ENV -- pm-updatestatus --pipe)"
Worked better for my scenario. Not confident enough in the solution to make a PR.