We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a367392 commit 1a07c3fCopy full SHA for 1a07c3f
src/Generator.php
@@ -164,6 +164,10 @@ public function __construct(
164
$this->state->specHash === $this->currentSpecHash &&
165
(static function (string $root, Files $files, string ...$additionalFiles): bool {
166
foreach ($additionalFiles as $additionalFile) {
167
+ if (!$files->has($additionalFile)) {
168
+ return false;
169
+ }
170
+
171
if ($files->has($additionalFile) && (! file_exists($root . $additionalFile) || $files->get($additionalFile)->hash !== md5(file_get_contents($root . $additionalFile)))) {
172
return false;
173
}
0 commit comments