CLI-1344: [push:artifact] support pushing to master #2389
Annotations
1 error and 1 warning
Mutation Testing
Process completed with exit code 1.
|
Mutation Testing:
src/Command/Push/PushArtifactCommand.php#L183
Escaped Mutant for Mutator "GreaterThan":
--- Original
+++ New
@@ @@
if (!$process->isSuccessful()) {
throw new AcquiaCliException('Failed to clone repository from the Cloud Platform: {message}', ['message' => $process->getErrorOutput()]);
}
- $process = $this->localMachineHelper->execute(['git', 'fetch', '--depth=1', '--update-head-ok', $vcsUrl, $vcsPath . ':' . $vcsPath], $outputCallback, $artifactDir, $this->output->getVerbosity() > OutputInterface::VERBOSITY_NORMAL);
+ $process = $this->localMachineHelper->execute(['git', 'fetch', '--depth=1', '--update-head-ok', $vcsUrl, $vcsPath . ':' . $vcsPath], $outputCallback, $artifactDir, $this->output->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL);
if (!$process->isSuccessful()) {
// Remote branch does not exist. Just create it locally. This will create
// the new branch off of the current commit.
|