diff --git a/src/BobDBuilder/Cmd/Deploy.php b/src/BobDBuilder/Cmd/Deploy.php index 2400d31..64a3a85 100644 --- a/src/BobDBuilder/Cmd/Deploy.php +++ b/src/BobDBuilder/Cmd/Deploy.php @@ -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; diff --git a/src/BobDBuilder/Cmd/Traits/Symlink/Dir.php b/src/BobDBuilder/Cmd/Traits/Symlink/Dir.php index 7112117..b91d139 100644 --- a/src/BobDBuilder/Cmd/Traits/Symlink/Dir.php +++ b/src/BobDBuilder/Cmd/Traits/Symlink/Dir.php @@ -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" diff --git a/src/BobDBuilder/Cmd/Traits/Symlink/File.php b/src/BobDBuilder/Cmd/Traits/Symlink/File.php index 35d1636..48e5212 100644 --- a/src/BobDBuilder/Cmd/Traits/Symlink/File.php +++ b/src/BobDBuilder/Cmd/Traits/Symlink/File.php @@ -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"