diff --git a/packages/builder/build.php b/packages/builder/build.php index d2d4884b5..04ecb362d 100644 --- a/packages/builder/build.php +++ b/packages/builder/build.php @@ -162,8 +162,7 @@ function replaceForAllOtherOSes(): array if (! isValidPackageName($folderName)) { do { writeln('Invalid package name: "builder" is not allowed.'); - $name = ask('Package name'); - $packageName = $name; + $packageName = ask('Package name'); } while (! isValidPackageName($packageName)); } else { $packageName = $folderName;