This commit is contained in:
bipproduction
2025-10-06 17:42:17 +08:00
parent cb789e43b7
commit 992b0ca2db
3 changed files with 6 additions and 4 deletions

View File

@@ -188,8 +188,10 @@ function handleCompose(name?: string): void {
return;
}
if(args.port.length !== 2) {
console.error("❌ Compose port must be 2 digits");
const _port = args.port.toString().padStart(2, "0");
if(_port.length !== 2) {
console.error(`❌ Compose port must be 2 digits [00-99] , ${args.port}`);
return;
}