Skip to content

Commit 20d2345

Browse files
committed
fix: replace windows directory separator for asset paths
1 parent a3f72d9 commit 20d2345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Deployment/ProcessAssetsStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private function getAssetFiles(): Collection
120120
foreach ($finder as $assetFile) {
121121
$assetFiles[] = [
122122
'real_path' => $assetFile->getRealPath(),
123-
'relative_path' => $assetFile->getRelativePathname(),
123+
'relative_path' => str_replace('\\', '/', $assetFile->getRelativePathname()),
124124
'hash' => md5_file((string) $assetFile->getRealPath()),
125125
];
126126
}

0 commit comments

Comments
 (0)