openmates 0.23.0-alpha.8 → 0.23.0-alpha.9
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.
|
@@ -30310,7 +30310,7 @@ function validateWorkflowFile(value) {
|
|
|
30310
30310
|
return JSON.parse(JSON.stringify(value));
|
|
30311
30311
|
}
|
|
30312
30312
|
function workflowFileName(title) {
|
|
30313
|
-
const stem = title.normalize("NFKC").replace(/[\x00-\x1f/\\<>:"|?*]/g, "-").replace(/\.workflow\.ya?ml$/i, "").replace(/^\.+|[. ]+$/g, "").trim().slice(0, 100);
|
|
30313
|
+
const stem = title.normalize("NFKC").replace(/[\x00-\x1f/\\<>:"|?*]/g, "-").replace(/\.workflow\.ya?ml$/i, "").replace(/^\.+|[. ]+$/g, "").trim().toLowerCase().replace(/\s+/g, "_").slice(0, 100);
|
|
30314
30314
|
return `${stem || "workflow"}.workflow.yml`;
|
|
30315
30315
|
}
|
|
30316
30316
|
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED