Skip to content

Commit

Permalink
Need to invalidate on rename
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed May 9, 2024
1 parent fa4c133 commit 04ba581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fs/Fs.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ public function renameFile(string $path, string $newPath): void
} catch (FilesystemException|UnableToMoveFile $exception) {
throw new FsException($exception->getMessage(), 0, $exception);
}

$this->invalidateCdnPath($path);
}

/**
Expand Down

0 comments on commit 04ba581

Please sign in to comment.