windmill-client 1.450.0-beta.1 → 1.450.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +2 -0
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -353,6 +353,7 @@ function setResource(value, path, initializeToTypeIfNotExist) {
|
|
|
353
353
|
const mockedApi = yield getMockedApi();
|
|
354
354
|
if (mockedApi) {
|
|
355
355
|
mockedApi.resources[path] = value;
|
|
356
|
+
return;
|
|
356
357
|
}
|
|
357
358
|
const workspace = getWorkspace();
|
|
358
359
|
if (yield index_1.ResourceService.existsResource({ workspace, path })) {
|
|
@@ -565,6 +566,7 @@ function setVariable(path, value, isSecretIfNotExist, descriptionIfNotExist) {
|
|
|
565
566
|
const mockedApi = yield getMockedApi();
|
|
566
567
|
if (mockedApi) {
|
|
567
568
|
mockedApi.variables[path] = value;
|
|
569
|
+
return;
|
|
568
570
|
}
|
|
569
571
|
const workspace = getWorkspace();
|
|
570
572
|
if (yield index_1.VariableService.existsVariable({ workspace, path })) {
|