diff --git a/src/fs/Fs.php b/src/fs/Fs.php index 626f3ec..3e1f819 100644 --- a/src/fs/Fs.php +++ b/src/fs/Fs.php @@ -252,7 +252,7 @@ public function prefixPath(string $path = ''): string $this->getPrefix(), $this->subpath ?? '', $path, - )->withoutEmptySegments()->withoutTrailingSlash(); + )->withoutEmptySegments(); } public function getBucketName(): ?string