mirror of
https://github.com/usebruno/bruno.git
synced 2025-08-16 12:27:58 +02:00
Merge pull request #3624 from lohxt1/fix/cli-brutojson
fix: cli -- brutojson fn -- req script should be obj by default
This commit is contained in:
@ -58,7 +58,7 @@ const bruToJson = (bru) => {
|
|||||||
body: _.get(json, 'body', {}),
|
body: _.get(json, 'body', {}),
|
||||||
vars: _.get(json, 'vars', []),
|
vars: _.get(json, 'vars', []),
|
||||||
assertions: _.get(json, 'assertions', []),
|
assertions: _.get(json, 'assertions', []),
|
||||||
script: _.get(json, 'script', ''),
|
script: _.get(json, 'script', {}),
|
||||||
tests: _.get(json, 'tests', '')
|
tests: _.get(json, 'tests', '')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user