Skip to content

Commit

Permalink
Merge pull request #17
Browse files Browse the repository at this point in the history
Changed symlinks in symlinks.json from absolute path to relative path
  • Loading branch information
leonardosahon authored Dec 29, 2023
2 parents d0dcce4 + 426e1f0 commit f315826
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BobDBuilder/Cmd/Deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function batch_minification(string $src_dir, string $output_dir): void
if(!empty($current_error))
$error[] = ["file" => $file, "error" => join("\n", $current_error)];

if($return)
if(!$return)
$changes++;

return $file;
Expand Down
2 changes: 1 addition & 1 deletion src/BobDBuilder/Cmd/Traits/Symlink/Dir.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private function dir(): void

@unlink($dest);
symlink($src, $dest);
$this->track_link($src, $dest, "dir");
$this->track_link($link[0], $link[1], "dir");

$this->plug->write_success(
"Directory link created successfully!\n"
Expand Down
2 changes: 1 addition & 1 deletion src/BobDBuilder/Cmd/Traits/Symlink/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private function file(): void

@unlink($dest);
symlink($src, $dest);
$this->track_link($src, $dest, "file");
$this->track_link($link[0], $link[1], "file");

$this->plug->write_success(
"Directory link created successfully!\n"
Expand Down

0 comments on commit f315826

Please sign in to comment.