@contrail/cli 3.5.4-alpha.a8a0075 → 3.5.4-alpha.f60c4df
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/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
|
|
|
17
17
|
$ contrail COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ contrail (--version)
|
|
20
|
-
@contrail/cli/3.5.4-alpha.
|
|
20
|
+
@contrail/cli/3.5.4-alpha.f60c4df linux-x64 node-v24.18.0
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
|
@@ -47,7 +47,7 @@ async function importWorkflowsBySelection(dir) {
|
|
|
47
47
|
const resolvedDir = path.resolve(process.cwd(), dir);
|
|
48
48
|
const files = fs_1.default
|
|
49
49
|
.readdirSync(resolvedDir)
|
|
50
|
-
.filter((f) => f.startsWith('workflows-') && f.endsWith('.yml')
|
|
50
|
+
.filter((f) => f.startsWith('workflows-') && f.endsWith('.yml'))
|
|
51
51
|
.sort();
|
|
52
52
|
if (files.length === 0) {
|
|
53
53
|
console.log(chalk_1.default.yellow(`No workflow files found in ${resolvedDir}`));
|
|
@@ -306,7 +306,7 @@ function extractShortActionKeys(workflowTemplate) {
|
|
|
306
306
|
for (const actionConfig of wfPath.actionDefinitionConfigs) {
|
|
307
307
|
if (actionConfig.action?.includes(':')) {
|
|
308
308
|
// Full identifier format: "app-id@version:action-name" -> "action-name"
|
|
309
|
-
actionConfig.action = actionConfig.action.split(':').pop();
|
|
309
|
+
actionConfig.action = actionConfig.action.split(':').pop() ?? actionConfig.action;
|
|
310
310
|
}
|
|
311
311
|
delete actionConfig.identifier;
|
|
312
312
|
}
|
package/oclif.manifest.json
CHANGED