Skip to content

Commit

Permalink
Use correct directory to generate install id hash
Browse files Browse the repository at this point in the history
  • Loading branch information
fredden committed Apr 26, 2023
1 parent f56a047 commit 4548408
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PackageSubmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ private function getPackages(OutputInterface $output): array
private function getVendorState(array $packages): array
{
return [
'id' => $this->hasher->generateInstallIdHash(getcwd()),
'id' => $this->hasher->generateInstallIdHash(
$this->packageResolverStrategy->getRootDirectory()
),
'hash_type' => 0, // xxh64
'origin' => 1,
'pkg' => array_map(
Expand Down

0 comments on commit 4548408

Please sign in to comment.