Skip to content

Commit 45fc9fd

Browse files
authored
Merge pull request #344 from dereuromark/dereuromark-patch-1
Fix path
2 parents d16535e + c75fffc commit 45fc9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migration/OldTaskFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function getTasks(string $path, ?string $plugin) {
4343
$name = substr($name, 5);
4444

4545
$taskKey = $plugin ? $plugin . '.' . $name : $name;
46-
$tasks[$taskKey] = $path . $r;
46+
$tasks[$taskKey] = $path . basename($r);
4747
}
4848

4949
return $tasks;

0 commit comments

Comments
 (0)