@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.
@@ -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
- const configFilePath = unfilteredFlowFiles.find((file) => file.endsWith('config.yaml') || file.endsWith('config.yml'));
43
- if (configFilePath)
44
- unfilteredFlowFiles = unfilteredFlowFiles.filter((file) => file !== configFilePath);
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('/'));
@@ -228,5 +228,5 @@
228
228
  ]
229
229
  }
230
230
  },
231
- "version": "1.0.0"
231
+ "version": "1.0.2"
232
232
  }
package/package.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
74
74
  "version": "oclif readme && git add README.md"
75
75
  },
76
- "version": "1.0.0",
76
+ "version": "1.0.2",
77
77
  "bugs": {
78
78
  "url": "https://discord.gg/gm3mJwcNw8"
79
79
  },