mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-23 21:41:53 +02:00
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…
x
Reference in New Issue
Block a user