File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/bruno-cli/src/commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11const fs = require ( 'fs' ) ;
22const chalk = require ( 'chalk' ) ;
33const path = require ( 'path' ) ;
4- const { forOwn } = require ( 'lodash' ) ;
4+ const { forOwn, cloneDeep } = require ( 'lodash' ) ;
55const { exists, isFile, isDirectory } = require ( '../utils/filesystem' ) ;
66const { runSingleRequest } = require ( '../runner/run-single-request' ) ;
77const { bruToEnvJson, getEnvVars } = require ( '../utils/bru' ) ;
@@ -637,7 +637,7 @@ const handler = async function (argv) {
637637 let currentRequestIndex = 0 ;
638638 let nJumps = 0 ; // count the number of jumps to avoid infinite loops
639639 while ( currentRequestIndex < bruJsons . length ) {
640- const iter = bruJsons [ currentRequestIndex ] ;
640+ const iter = cloneDeep ( bruJsons [ currentRequestIndex ] ) ;
641641 const { bruFilepath, bruJson } = iter ;
642642
643643 const start = process . hrtime ( ) ;
You can’t perform that action at this time.
0 commit comments