From 85c6b2d97fe17a1836f557f7fcb16af906e15c9c Mon Sep 17 00:00:00 2001 From: lohxt1 Date: Tue, 10 Dec 2024 12:57:03 +0530 Subject: [PATCH] fix: cli -- brutojson fn -- script obj --- packages/bruno-cli/src/utils/bru.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-cli/src/utils/bru.js b/packages/bruno-cli/src/utils/bru.js index 75707fef..cb8cee7f 100644 --- a/packages/bruno-cli/src/utils/bru.js +++ b/packages/bruno-cli/src/utils/bru.js @@ -58,7 +58,7 @@ const bruToJson = (bru) => { body: _.get(json, 'body', {}), vars: _.get(json, 'vars', []), assertions: _.get(json, 'assertions', []), - script: _.get(json, 'script', ''), + script: _.get(json, 'script', {}), tests: _.get(json, 'tests', '') } };