@devicecloud.dev/dcd 1.0.0 → 1.0.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/commands/cloud.js +3 -0
- package/dist/plan.js +4 -3
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/commands/cloud.js
CHANGED
|
@@ -235,6 +235,9 @@ class Cloud extends core_1.Command {
|
|
|
235
235
|
test: { get: (row) => row.test_file_name },
|
|
236
236
|
}, { printLine: this.log.bind(this) });
|
|
237
237
|
(0, cli_ux_1.info)('\n');
|
|
238
|
+
(0, cli_ux_1.info)('Run completed, you can access the results at:');
|
|
239
|
+
core_1.ux.url(url, url);
|
|
240
|
+
(0, cli_ux_1.info)('\n');
|
|
238
241
|
clearInterval(intervalId);
|
|
239
242
|
if (updatedResults.some((result) => result.status === 'FAILED')) {
|
|
240
243
|
// eslint-disable-next-line no-process-exit, unicorn/no-process-exit
|
package/dist/plan.js
CHANGED
|
@@ -39,9 +39,10 @@ async function plan(input, includeTags, excludeTags, excludeFlows) {
|
|
|
39
39
|
unfilteredFlowFiles = unfilteredFlowFiles.filter((file) => !file.startsWith(path.resolve(flow)));
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
// if config file present at top level, use it
|
|
43
|
+
const configFilePath = unfilteredFlowFiles.find((file) => file === input + 'config.yaml' || file === input + 'config.yml');
|
|
44
|
+
// remove all config files from the list to prevent processing them
|
|
45
|
+
unfilteredFlowFiles = unfilteredFlowFiles.filter((file) => !(file.endsWith('config.yaml') || file.endsWith('config.yml')));
|
|
45
46
|
const cleanPath = path.normalize(input);
|
|
46
47
|
const relativeFilePaths = unfilteredFlowFiles.map((file) => file.replace(cleanPath, ''));
|
|
47
48
|
const topLevelFlowFiles = relativeFilePaths.filter((file) => !file.includes('/'));
|
package/oclif.manifest.json
CHANGED