Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
How to disable/ignore update warning when calling Lando from scripts? #1000
So, we have a bunch of scripts that call
However, when there's a new Lando update available, the update message gets put before the JSON and breaks parsing.
Is there a way to disable the warning entirely when running from a script? Or, if the message was output on stderr, then it could still be shown, but the stdout will be clean, parseable JSON.
Just encoutered this again because there was just a release a little bit ago :-)
@dsnopek at this point, nope, we don't have a way to disable this message without updating the project. Your use case is yet another indication that we need to look at cleaning up the output in some way though
I think the problem with pushing to stderr might be that CI processes etc might fail if there is output in stderr? I might be wrong on that.