@testomatio/reporter 0.6.2 → 0.6.3

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/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.3
2
+
3
+ * Fixed `npx start-test-run` to launch commands
4
+
1
5
  # 0.6.2
2
6
 
3
7
  * Added `--env-file` option to load env variables from env file
@@ -52,7 +52,12 @@ program
52
52
 
53
53
  let exitCode = 0;
54
54
 
55
- if (command) return;
55
+ if (!command.split) {
56
+ process.exitCode = 255;
57
+ console.log(APP_PREFIX, `No command provided. Use -c option to launch a test runner.`);
58
+ return;
59
+ }
60
+
56
61
  const testCmds = command.split(' ');
57
62
  console.log(APP_PREFIX, `🚀 Running`, chalk.green(command));
58
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "repository": "git@github.com:testomatio/reporter.git",