From 7b42acc36c71e2f2106be03cbdbdf7eb037df72d Mon Sep 17 00:00:00 2001 From: Alejandro Date: Mon, 15 Apr 2024 07:50:37 -0300 Subject: [PATCH] Make oso params non optional --- packages/ethernaut-oso/src/tasks/chain.js | 2 +- packages/ethernaut-oso/src/tasks/code.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ethernaut-oso/src/tasks/chain.js b/packages/ethernaut-oso/src/tasks/chain.js index e19a71d..bcb72d1 100644 --- a/packages/ethernaut-oso/src/tasks/chain.js +++ b/packages/ethernaut-oso/src/tasks/chain.js @@ -9,7 +9,7 @@ require('../scopes/metrics') 'chain', 'Prints Open Source Observer onchain metrics for a project, including number of contracts, active users, gas usage, and more', ) - .addOptionalParam( + .addParam( 'project', 'The name or slug of the project', undefined, diff --git a/packages/ethernaut-oso/src/tasks/code.js b/packages/ethernaut-oso/src/tasks/code.js index 9f6e0c8..f49f9ff 100644 --- a/packages/ethernaut-oso/src/tasks/code.js +++ b/packages/ethernaut-oso/src/tasks/code.js @@ -9,7 +9,7 @@ require('../scopes/metrics') 'code', 'Prints Open Source Observer code metrics for a project, including number of Github stars, commits, contributors, and more', ) - .addOptionalParam( + .addParam( 'project', 'The name or slug of the project', undefined,