Respect COMPOSER_NO_INTERATION for search prompt.
As described in GH-8289, if no `composer.json` file is found in the current directory, the user is prompted if she wants to use another `composer.json` file from a parent directory even if the `COMPOSER_NO_INTERACTION` environment variable is set. This is fixed here by just moving the check of the environment variable up in the code so that it is evaluated before the user is prompted.main
parent
bfba228b5a
commit
0500e64f88
Loading…
Reference in New Issue