Skip to content

Commit

Permalink
simplifying check
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Jul 13, 2022
1 parent b81a6bc commit ae90895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Asset/EntrypointLookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function getEntriesData(): array
throw new \InvalidArgumentException(sprintf('Could not find an "entrypoints" key in the "%s" file', $this->entrypointJsonPath));
}

if ($this->cache && isset($cached)) {
if (isset($cached)) {
$this->cache->save($cached->set($this->entriesData));
}

Expand Down

0 comments on commit ae90895

Please sign in to comment.