Skip to content

Commit

Permalink
change argument number requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmanos committed Jan 27, 2025
1 parent 9e2d5da commit 6ab8c77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecosystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ function buildImages() {
// syntax: node ecosystem.js build-images <image_tag> <image name 1> <image name 2> ... <image name N>
// <image_tag> is required
// if <image name 1> <image name 2> ... <image name N> is not provided, then all images will be built
if (args.length < 1) {
console.error("<image_tag> is required");
console.error("Syntax: node ecosystem.js build-images <image_tag> <image name 1> <image name 2> ... <image name N>");
if (args.length < 2) {
console.error("<image_registry> or <image_tag> is missing");
console.error("Syntax: node ecosystem.js build-images <image_registry> <image_tag> <image name 1> <image name 2> ... <image name N>");
process.exit();
}

Expand Down

0 comments on commit 6ab8c77

Please # to comment.