fix windows test failures: path separators and arch normalization

This commit is contained in:
Luther Monson
2026-05-19 21:59:18 -07:00
parent 3f7bad75ec
commit 52d234f1f4
3 changed files with 11 additions and 10 deletions

View File

@@ -327,7 +327,7 @@ class Artifact
public function getSourceRoot(): string
{
if (isset($this->config['metadata']['source-root'])) {
return $this->getSourceDir() . '/' . ltrim($this->config['metadata']['source-root'], '/');
return FileSystem::convertPath($this->getSourceDir() . '/' . ltrim($this->config['metadata']['source-root'], '/'));
}
return $this->getSourceDir();
}