diff --git a/build/generate-registry-annotations.php b/build/generate-registry-annotations.php index 2d271de98..827ba4880 100644 --- a/build/generate-registry-annotations.php +++ b/build/generate-registry-annotations.php @@ -39,7 +39,8 @@ use function substr; use const SORT_STRING; if(count($argv) !== 2){ - die("Provide a path to process"); + fwrite(STDERR, "Provide a path to process\n"); + exit(1); } /**