forked from extern/bruno
parent
f617504cd6
commit
500e3853a5
@ -58,7 +58,7 @@ class Bru {
|
||||
|
||||
setVar(key, value) {
|
||||
if (!key) {
|
||||
throw new Error('Key is required');
|
||||
throw new Error('A variable with an empty name has been created but name is required.');
|
||||
}
|
||||
|
||||
if (envVariableNameRegex.test(key) === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user