Skip to content

Commit

Permalink
Merge branch 'main' into CLI-1171
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Oct 23, 2023
2 parents b5f0213 + 5fdac94 commit 1bd01cb
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 38 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"symfony/yaml": "^6.0",
"thecodingmachine/safe": "^2.4",
"typhonius/acquia-logstream": "^0.0.13",
"typhonius/acquia-php-sdk-v2": "^3.1.0",
"typhonius/acquia-php-sdk-v2": "^3.1.1",
"vlucas/phpdotenv": "^5.5",
"zumba/amplitude-php": "^1.0.4"
},
Expand Down
76 changes: 41 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Command/Push/PushArtifactCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,13 @@ private function buildArtifact(Closure $outputCallback, string $artifactDir): vo
// @see https://git.drupalcode.org/project/drupal/-/blob/9.1.x/sites/default/default.settings.php#L295
$outputCallback('out', "Mirroring source files from $this->dir to $artifactDir");
$originFinder = $this->localMachineHelper->getFinder();
$originFinder->files()->in($this->dir)
$originFinder->in($this->dir)
// Include dot files like .htaccess.
->ignoreDotFiles(FALSE)
// Ignore VCS ignored files (e.g. vendor) to speed up the mirror (Composer will restore them later).
->ignoreVCSIgnored(TRUE);
$targetFinder = $this->localMachineHelper->getFinder();
$targetFinder->files()->in($artifactDir)->ignoreDotFiles(FALSE);
$targetFinder->in($artifactDir)->ignoreDotFiles(FALSE);
$this->localMachineHelper->getFilesystem()->mirror($this->dir, $artifactDir, $originFinder, ['override' => TRUE, 'delete' => TRUE], $targetFinder);

$this->localMachineHelper->checkRequiredBinariesExist(['composer']);
Expand Down

0 comments on commit 1bd01cb

Please sign in to comment.