Describe the bug
When the parameter isSecretIfNotExist in the setVariable function is false, the created variable becomes a secret variable when it should not.
Reference: setVariable(path, value, isSecretIfNotExist?, descriptionIfNotExist?): Promise<void>
Doc: https://app.windmill.dev/tsdocs/functions/setVariable.html
To reproduce
Use the setVariable function to create a new variable.
Behavior:
OptionalisSecretIfNotExist value |
Behavior |
true |
The variable becomes a secret |
false |
The variable also becomes a secret! ❗ |
undefined |
normal variable (not a secret) |
Expected behavior
The value false should produce a plain variable.
Screenshots
No response
Browser information
Opera One version: 123.0.5669.47, Chromium version:139.0.7258.156
Application version
Windmill CE v1.583.1-3-g193efe31c
Additional Context
No response