You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Asset/EntrypointLookup.php
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -117,11 +117,8 @@ private function getEntriesData(): array
117
117
}
118
118
119
119
if (!file_exists($this->entrypointJsonPath)) {
120
-
if ($this->strictMode) {
121
-
thrownew \InvalidArgumentException(sprintf('Could not find the entrypoints file from Webpack: the file "%s" does not exist.', $this->entrypointJsonPath));
122
-
} else {
123
-
return [];
124
-
}
120
+
if (!$this->strictMode) return [];
121
+
thrownew \InvalidArgumentException(sprintf('Could not find the entrypoints file from Webpack: the file "%s" does not exist.', $this->entrypointJsonPath));
0 commit comments