mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
add logic to check for key existence in post response (#3249)
This commit is contained in:
parent
7a5b309664
commit
5c5e3d18fc
@ -50,7 +50,9 @@ class VarsRuntime {
|
||||
_.each(enabledVars, (v) => {
|
||||
try {
|
||||
const value = evaluateJsExpressionBasedOnRuntime(v.value, context, this.runtime);
|
||||
if (v.name) {
|
||||
bru.setVar(v.name, value);
|
||||
}
|
||||
} catch (error) {
|
||||
errors.set(v.name, error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user