Merge branch 'main' of github.com:usebruno/bruno

This commit is contained in:
Anoop M D 2023-10-13 06:46:37 +05:30
commit ca615e8662
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const runSingleRequest = async function (
try { try {
let request; let request;
request = prepareRequest(bruJson.request); request = prepareRequest(bruJson.request, collectionRoot);
const scriptingConfig = get(brunoConfig, 'scripts', {}); const scriptingConfig = get(brunoConfig, 'scripts', {});

View File

@ -71,6 +71,7 @@ class ScriptRuntime {
}; };
context.console = { context.console = {
log: customLogger('log'), log: customLogger('log'),
debug: customLogger('debug'),
info: customLogger('info'), info: customLogger('info'),
warn: customLogger('warn'), warn: customLogger('warn'),
error: customLogger('error') error: customLogger('error')