Skip to content

Commit 84f8faa

Browse files
authored
Update MatchesSnapshots.php
1 parent e97d59e commit 84f8faa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MatchesSnapshots.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ protected function doFileSnapshotAssertion(string $filePath)
209209
$fileSystem->copy($filePath, $snapshotId);
210210

211211
$this->registerSnapshotChange("File snapshot created for {$snapshotId}");
212+
213+
return;
212214
}
213215

214216
if (! $fileSystem->fileEquals($filePath, $snapshotId)) {

0 commit comments

Comments
 (0)