Skip to content

Commit

Permalink
Merge pull request usebruno#3624 from lohxt1/fix/cli-brutojson
Browse files Browse the repository at this point in the history
fix: cli -- brutojson fn -- req script should be obj by default
  • Loading branch information
lohxt1 authored Dec 10, 2024
2 parents 0c574ae + 85c6b2d commit 57d86eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-cli/src/utils/bru.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', '')
}
};
Expand Down

0 comments on commit 57d86eb

Please sign in to comment.