|
@@ -164,7 +164,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn
|
|
|
{
|
|
|
// Ensure environment-specific path separators are normalized to URL separators
|
|
|
return array_map(function ($val) {
|
|
|
- return str_replace(DIRECTORY_SEPARATOR, '/', $val);
|
|
|
+ return rtrim(str_replace(DIRECTORY_SEPARATOR, '/', $val), '/');
|
|
|
}, glob($this->url, GLOB_MARK | GLOB_ONLYDIR));
|
|
|
}
|
|
|
}
|