瀏覽代碼

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);
 		}