You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues and found nothing related to my issue.
This bug is:
making Bruno unusable for me
slowing me down but I'm able to continue working
annoying
Bruno version
1.39.1
Operating System
MacOS 15.3.2
Describe the bug
It seems scripting functionality regarding envVars and globalEnvVars is not implemented properly.
I can set environment variables with setEnvVar in my scripts, but when I use deleteEnvVar nothing happens and the variables still exist when I view them with the "eye" symbol (variables).
Also I cannot set global env vars with setGlobalEnvVar. I can run the method but no value is set, next call to getGlobalEnvVar returns null. Additionally, the method deleteGlobalEnvVar seems not to exist at all.
Summary:
deleteEnVar not working
setGlobalEnvVar not working
deleteGlobalEnvVar does not exist
Additional question:
Should it even be possible to set envVars/globalEnvVars in the script or should they be read only? After reading about variables I see no valid reason to set those vars in script manually. When I understand it correctly, you should use runtime/ephemeral variables with setVar() and getVar() instead.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered:
I have checked the following:
This bug is:
Bruno version
1.39.1
Operating System
MacOS 15.3.2
Describe the bug
It seems scripting functionality regarding
envVars
andglobalEnvVars
is not implemented properly.I can set environment variables with
setEnvVar
in my scripts, but when I usedeleteEnvVar
nothing happens and the variables still exist when I view them with the "eye" symbol (variables).Also I cannot set global env vars with
setGlobalEnvVar
. I can run the method but no value is set, next call togetGlobalEnvVar
returns null. Additionally, the methoddeleteGlobalEnvVar
seems not to exist at all.Summary:
deleteEnVar
not workingsetGlobalEnvVar
not workingdeleteGlobalEnvVar
does not existAdditional question:
Should it even be possible to set envVars/globalEnvVars in the script or should they be read only? After reading about variables I see no valid reason to set those vars in script manually. When I understand it correctly, you should use runtime/ephemeral variables with
setVar()
andgetVar()
instead..bru file to reproduce the bug
No response
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: