Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreliable pm-updatestatus result #3

Open
shauntyndall opened this issue Jan 14, 2018 · 1 comment
Open

Unreliable pm-updatestatus result #3

shauntyndall opened this issue Jan 14, 2018 · 1 comment

Comments

@shauntyndall
Copy link

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)"

image

BTW, thanks for this. There is real value in the concept.

@shauntyndall
Copy link
Author

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.

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

No branches or pull requests

1 participant