Skip to content

Commit

Permalink
add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Apr 7, 2022
1 parent 22f69a1 commit 645e056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ViteManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function getEntrypoint(string $entrypoint, bool $hash = true): array
public function getImports(string $entrypoint, bool $hash = true): array
{
return array_filter(
array_map(function ($import) {
array_map(function ($import, $hash) {
return isset($this->manifest[$import]["file"]) ? [
"hash" => $hash ? $this->getFileHash($this->manifest[$import]["file"]) : null,
"url" => $this->getPath($this->manifest[$import]["file"])
Expand Down

0 comments on commit 645e056

Please sign in to comment.