From 277697031784f4856d4ca63a963b855a3fc3034a Mon Sep 17 00:00:00 2001 From: lohit Date: Mon, 12 May 2025 16:57:27 +0530 Subject: [PATCH] revert collection-pathname param --- packages/bruno-cli/src/commands/run.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/bruno-cli/src/commands/run.js b/packages/bruno-cli/src/commands/run.js index 25bc1d1cd..ce06a31de 100644 --- a/packages/bruno-cli/src/commands/run.js +++ b/packages/bruno-cli/src/commands/run.js @@ -168,10 +168,6 @@ const builder = async (yargs) => { type:"number", description: "Delay between each requests (in miliseconds)" }) - .option('collection-pathname', { - type: "string", - description: "Collection root pathname" - }) .example('$0 run request.bru', 'Run a request') .example('$0 run request.bru --env local', 'Run a request with the environment set to local') .example('$0 run folder', 'Run all requests in a folder') @@ -237,12 +233,9 @@ const handler = async function (argv) { reporterSkipAllHeaders, reporterSkipHeaders, clientCertConfig, - delay, - collectionPathname + delay } = argv; - const collectionPath = collectionPathname || process.cwd(); - - filename = path.join(collectionPath, filename); + const collectionPath = process.cwd(); let collection = createCollectionJsonFromPathname(collectionPath); const { root: collectionRoot, brunoConfig } = collection;