mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-02 02:49:48 +01:00
Typecasted env values to string
This commit is contained in:
parent
05be59f00c
commit
3b1a4968dc
@ -73,7 +73,7 @@ class Bru {
|
||||
throw new Error('Creating a env variable without specifying a name is not allowed.');
|
||||
}
|
||||
|
||||
this.envVariables[key] = value;
|
||||
this.envVariables[key] = String(value);
|
||||
}
|
||||
|
||||
deleteEnvVar(key) {
|
||||
@ -89,7 +89,7 @@ class Bru {
|
||||
throw new Error('Creating a env variable without specifying a name is not allowed.');
|
||||
}
|
||||
|
||||
this.globalEnvironmentVariables[key] = value;
|
||||
this.globalEnvironmentVariables[key] = String(value);
|
||||
}
|
||||
|
||||
hasVar(key) {
|
||||
|
Loading…
Reference in New Issue
Block a user