Skip to content

Commit 9291c24

Browse files
lukascellarf3l1x
authored andcommitted
#26 Prevent double slash in paths
1 parent 2c9da74 commit 9291c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Module/NetteDIModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class NetteDIModule extends Module
5454
*/
5555
public function _beforeSuite($settings = []): void
5656
{
57-
$this->path = $settings['path'];
57+
$this->path = rtrim($settings['path'], '/');
5858
$this->clearTempDir();
5959
}
6060

0 commit comments

Comments
 (0)