mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix(#295): bru.setEnvVar() should dynamically create a env var if not found
This commit is contained in:
@@ -48,11 +48,6 @@ class Bru {
|
||||
throw new Error('Creating a env variable without specifying a name is not allowed.');
|
||||
}
|
||||
|
||||
// gracefully ignore if key is not present in environment
|
||||
if (!this.envVariables.hasOwnProperty(key)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.envVariables[key] = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user