Typecasted env values to string

This commit is contained in:
naman-bruno 2025-01-28 12:25:35 +05:30
parent 05be59f00c
commit 3b1a4968dc

View File

@ -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) {