Skip to content

Commit

Permalink
[skip actions] minor sanitize fix
Browse files Browse the repository at this point in the history
  • Loading branch information
surgiie committed Mar 10, 2024
1 parent f382ea4 commit 8d9403e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Commands/RenderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ public function renderFile(string $path, array $vars = [], ?string $saveTo = nul

file_put_contents($saveTo, $contents);

$saveTo = str_replace("//", "/", $saveTo);

$this->components->info("Rendered file: $saveTo");

return $contents;
Expand Down

0 comments on commit 8d9403e

Please sign in to comment.