Skip to content

Commit b20eab6

Browse files
committed
Revert "Normalize formatter syntax"
This reverts commit c4b7af3.
1 parent c4b7af3 commit b20eab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Support/Filesystem/MediaFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class MediaFile extends ProjectFile
3030

3131
public function __construct(string $path)
3232
{
33-
$path = Str::after($path, Hyde::getMediaDirectory().'/');
33+
$path = trim_slashes(Str::after($path, Hyde::getMediaDirectory()));
3434

3535
parent::__construct($path);
3636
}

0 commit comments

Comments
 (0)