Explorar o código

Change return code to 1

Ahammar Yassine %!s(int64=6) %!d(string=hai) anos
pai
achega
b4fae00db2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Console/Application.php

+ 1 - 1
src/Composer/Console/Application.php

@@ -210,7 +210,7 @@ class Application extends BaseApplication
                         
                         if ($io->isInteractive()) {
                             if (!$io->askConfirmation('<info>Continue as root/super user</info> [<comment>yes</comment>]? ', true)) {
-                                return 0;
+                                return 1;
                             }
                         }
                     }