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', '') } };