소스 검색

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