ソースを参照

ComposerRequireCommand.php edited online with Bitbucket

Guillermo Espinoza 7 年 前
コミット
9e1f5fb30f
1 ファイル変更2 行追加2 行削除
  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);
 		}