Skip to content

Commit

Permalink
#63 Only empty path to working directory makes expectation of relativ…
Browse files Browse the repository at this point in the history
…e paths.

This change make sense for zero path ("0")
  • Loading branch information
Aeliot-Tm committed Nov 30, 2024
1 parent 8b237fc commit 7891ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/BaselineContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getWorkdir(): ?string

public function setWorkdir(?string $workdir): void
{
$this->relative = (bool) $workdir;
$this->relative = '' !== (string) $workdir;
$this->workdir = $workdir;
}

Expand Down

0 comments on commit 7891ee6

Please sign in to comment.