Skip to content

Commit

Permalink
remove streamOutput references
Browse files Browse the repository at this point in the history
  • Loading branch information
pheeque1 committed Apr 4, 2023
1 parent 8f2ea48 commit 937242e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Actions/CodeDownAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public function run(?string $stage = null): int

try {
$this->section("git pull ({$upstream}/{$branch})");
$git->getClient()->streamOutput();
$git->pull($upstream, $branch);
} catch (GitException $gitException) {
$lines = count(explode(PHP_EOL, $gitException->getMessage()));
Expand Down
1 change: 0 additions & 1 deletion src/Actions/CodeUpAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public function run(?string $stage = null): int

try {
$this->section("git push ({$msg})");
$git->getClient()->streamOutput();
$git->push($upstream, "{$branch}:master");
} catch (GitException $gitException) {
$lines = count(explode(PHP_EOL, $gitException->getMessage()));
Expand Down
2 changes: 0 additions & 2 deletions src/Services/Git/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,4 @@ public function getStatus(): string;
public function add(string $filepattern, array $options = []): string;

public function commit(...$argsOrOptions): string;

public function streamOutput(bool $streamOutput = true): void;
}
4 changes: 0 additions & 4 deletions src/Services/Git/GitonomyClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ public function commit(...$argsOrOptions): string
return $this->run(GitCommand::COMMIT, $argsOrOptions);
}

public function streamOutput(bool $streamOutput = true): void
{
}

private function run(string $command, array $args): string
{
try {
Expand Down

0 comments on commit 937242e

Please sign in to comment.