windmill-cli 1.706.0 → 1.706.1
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/esm/main.js +3 -21
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -44690,7 +44690,7 @@ var require_zipEntries = __commonJS((exports, module) => {
|
|
|
44690
44690
|
if (this.centralDirRecords !== this.files.length) {
|
|
44691
44691
|
if (this.centralDirRecords !== 0 && this.files.length === 0) {
|
|
44692
44692
|
throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
|
|
44693
|
-
}
|
|
44693
|
+
} else {}
|
|
44694
44694
|
}
|
|
44695
44695
|
},
|
|
44696
44696
|
readEndOfCentral: function() {
|
|
@@ -55620,7 +55620,7 @@ var require_loader = __commonJS((exports, module) => {
|
|
|
55620
55620
|
var error2 = generateError(state, message);
|
|
55621
55621
|
if (state.onWarning) {
|
|
55622
55622
|
state.onWarning.call(null, error2);
|
|
55623
|
-
}
|
|
55623
|
+
} else {}
|
|
55624
55624
|
}
|
|
55625
55625
|
var directiveHandlers = {
|
|
55626
55626
|
YAML: function handleYamlDirective(state, name, args) {
|
|
@@ -56158,7 +56158,7 @@ var require_loader = __commonJS((exports, module) => {
|
|
|
56158
56158
|
} else if (detectedIndent) {
|
|
56159
56159
|
sc.value += common3.repeat(`
|
|
56160
56160
|
`, emptyLines + 1);
|
|
56161
|
-
}
|
|
56161
|
+
} else {}
|
|
56162
56162
|
detectedIndent = true;
|
|
56163
56163
|
emptyLines = 0;
|
|
56164
56164
|
captureStart = state.position;
|
|
@@ -67349,14 +67349,6 @@ async function pull(opts) {
|
|
|
67349
67349
|
checkoutGitSyncDeployBranch(deployBranch);
|
|
67350
67350
|
}
|
|
67351
67351
|
if (opts.onlyCreateBranch) {
|
|
67352
|
-
gitSyncDeployPush({
|
|
67353
|
-
items: deployItems,
|
|
67354
|
-
authorName: process.env["WM_USERNAME"] || "windmill",
|
|
67355
|
-
authorEmail: process.env["WM_EMAIL"] || "windmill@windmill.dev",
|
|
67356
|
-
committerName: opts.gitCommitterName,
|
|
67357
|
-
committerEmail: opts.gitCommitterEmail,
|
|
67358
|
-
onlyCreateBranch: true
|
|
67359
|
-
});
|
|
67360
67352
|
return;
|
|
67361
67353
|
}
|
|
67362
67354
|
}
|
|
@@ -67590,16 +67582,6 @@ Done! All ${changes.length} changes applied locally and wmill-lock.yaml updated.
|
|
|
67590
67582
|
} catch (e) {
|
|
67591
67583
|
warn(`Failed to pull shared UI folder: ${e}`);
|
|
67592
67584
|
}
|
|
67593
|
-
if (opts.gitDeployItems !== undefined && !opts.onlyCreateBranch) {
|
|
67594
|
-
const deployItems = JSON.parse(opts.gitDeployItems);
|
|
67595
|
-
gitSyncDeployPush({
|
|
67596
|
-
items: deployItems,
|
|
67597
|
-
authorName: process.env["WM_USERNAME"] || "windmill",
|
|
67598
|
-
authorEmail: process.env["WM_EMAIL"] || "windmill@windmill.dev",
|
|
67599
|
-
committerName: opts.gitCommitterName,
|
|
67600
|
-
committerEmail: opts.gitCommitterEmail
|
|
67601
|
-
});
|
|
67602
|
-
}
|
|
67603
67585
|
}
|
|
67604
67586
|
async function gitDeploy(opts) {
|
|
67605
67587
|
let items = [];
|