diff --git a/monorepo-builder.php b/monorepo-builder.php index 9792ef5031..227fb71503 100644 --- a/monorepo-builder.php +++ b/monorepo-builder.php @@ -9,7 +9,7 @@ return static function (MBConfig $mbConfig): void { $mbConfig->packageDirectories([__DIR__ . '/plugins']); - $version = (!empty($_SERVER['argv'][2]))?: ''; + $version = ($_SERVER['argv'][2])?: ''; if(!$version) return; $mbConfig->packageDirectoriesExcludes([ __DIR__ . '/plugins/BcThemeSample',