Skip to content

Commit 18c4f93

Browse files
committed
Fix assembly paths action
1 parent ef16fbf commit 18c4f93

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

src/Workflow/Task/AssemblyTargetTask.php

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,24 @@
1111

1212
final readonly class AssemblyTargetTask implements TaskInterface
1313
{
14+
/**
15+
* @var non-empty-string
16+
*/
17+
public string $sfxPathname;
18+
19+
/**
20+
* @var non-empty-string
21+
*/
22+
public string $targetPathname;
23+
1424
public function __construct(
15-
/**
16-
* @var non-empty-string
17-
*/
18-
public string $sfxPathname,
19-
/**
20-
* @var non-empty-string
21-
*/
22-
public string $targetPathname,
25+
string $sfxPathname,
26+
string $targetPathname,
2327
public TargetInterface $target,
24-
) {}
28+
) {
29+
$this->targetPathname = Path::normalize($targetPathname);
30+
$this->sfxPathname = Path::normalize($sfxPathname);
31+
}
2532

2633
public function __invoke(Configuration $config): void
2734
{

0 commit comments

Comments
 (0)