Skip to content

Commit

Permalink
fix double dot
Browse files Browse the repository at this point in the history
  • Loading branch information
fiste788 committed Nov 27, 2024
1 parent 3b588ab commit 3bfda40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/ConvertTeamImageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function execute(Arguments $args, ConsoleIo $io): ?int

foreach ($finder->getIterator() as $file) {
$io->info($file->__toString());
$newFile = new SplFileInfo($file->getPath() . DS . $file->getBasename($file->getExtension()) . ".webp");
$newFile = new SplFileInfo($file->getPath() . DS . $file->getBasename($file->getExtension()) . "webp");
Image::useImageDriver(ImageDriver::Gd)->load($file->getPathname())->quality(80)->save($newFile->getPathname());
}
$teamsTable->save($team);
Expand Down

0 comments on commit 3bfda40

Please sign in to comment.