Closed dalin- closed 1 year ago
@dalin- I can't seem to replicate the original issue.
I ran the terminus commands above and this is what I get:
I then ran pantheon-module-report
and get this:
This was before checking out this branch and before upgrading Terminus. I was on 3.0.7 but now I am now on version 3.1.2.
What am I missing? Assuming I did everything right to test, I'm not sure this fix is necessary.
Let me know if there is something else you want me to try or a different way to test.
@cbfannin Very strange. After I upgraded Terminus to 3.1.2, and cleared caches, then it started working better.
Regardless, the code change in this PR might help if this ever comes back: If the command output includes the string "option does not exist", then try the next environment.
@dalin- Approved to merge.
There's something odd with the Stanford site. It'll probably be really tricky to find the root problem, but this code is a pretty simple workaround.
See how the same command on different environments produces different results:
on live:
on dev:
But yes it should work:
We already have code to handle different drush versions (that handles the lack of
--filter
on Drush <= 8), and code to cycle through environments if something is broken in the live environment. So I just added a check for this to the latter.The same problem was also happening on rutgers-spaa