tambahan
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user