Browse Source

ComposerRequireCommand.php edited online with Bitbucket

Guillermo Espinoza 7 năm trước cách đây
mục cha
commit
9e1f5fb30f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);
 		}