From 9efe7991da4aac4ac0264a17bcf35c259ff4b222 Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Fri, 5 Jul 2024 19:59:09 +0200 Subject: [PATCH] fix: extra slash for test purpose --- .../src/Helper/Asset/AssetHelperRuntime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php b/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php index f191a00db..d42c5e57b 100644 --- a/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php +++ b/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php @@ -80,7 +80,7 @@ public function assets(string $hash, string $saveDir = 'bundles', bool $addEnvir public function asset(string $path, array $assetConfig = []): string { if (empty($this->localFolder)) { - $filename = \sprintf('%s:/%s', $this->getVersionHash(), $path); + $filename = \sprintf('%s:%s', $this->getVersionHash(), $path); } else { $filename = $this->publicDir.DIRECTORY_SEPARATOR.$this->localFolder.DIRECTORY_SEPARATOR.$path; }