Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Jul 13, 2023
1 parent 5578bb6 commit 58f1799
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/GenerateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ private function generate()

private function relativePath($path)
{
return Path::tidy(str_replace($this->destination.'/', '', $path));
return Path::tidy(
str_replace(Path::tidy($this->destination.'/'), '', $path)
);
}
}

0 comments on commit 58f1799

Please sign in to comment.