Explorar el Código

ComposerRequireCommand.php edited online with Bitbucket

Guillermo Espinoza hace 7 años
padre
commit
9e1f5fb30f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      tools/src/ComposerRequireCommand.php

+ 2 - 2
tools/src/ComposerRequireCommand.php

@@ -50,7 +50,7 @@ class ComposerRequireCommand extends Command
 		        $output->writeln("\t" . $command);
                         shell_exec($command);
                         if (strlen($pull) > 0) {
-		            $command = 'cd ' . $sec . '; git pull origin ' . $pull);
+		            $command = 'cd ' . $sec . '; git pull origin ' . $pull;
 		            $output->writeln("\t" . $command);
                             shell_exec($command);
                         }
@@ -79,7 +79,7 @@ class ComposerRequireCommand extends Command
                     }
 		} catch (Throwable $t) {
 		    $output->writeln('Se produjo un error. Reestableciendo datos.');
-		    $command = 'cd ' . $sec . '; git reset');
+		    $command = 'cd ' . $sec . '; git reset';
 		    $output->writeln("\t" . $command);
                     $shell_exec($command);
 		}