@intuned/runtime-dev 1.0.6-cli.8.2.2 → 1.0.6-cli.8.2.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.
@@ -31,15 +31,13 @@ _commander.program.name("intuned-run").description("Run an Intuned API with para
31
31
  console.log(_chalk.default.yellow("No result returned from the API"));
32
32
  return;
33
33
  }
34
- if (!options.outputFile) {
34
+ if (!options.storeResults) {
35
35
  console.log(_chalk.default.green(`✓ API executed successfully`));
36
36
  console.log(_chalk.default.green("Result:"));
37
37
  console.log(_chalk.default.white(JSON.stringify(result, null, 2)));
38
38
  return;
39
39
  }
40
- if (options.storeResults) {
41
- await (0, _utils.writeResultToFile)(runId, result, payloadToAppend);
42
- }
40
+ await (0, _utils.writeResultToFile)(runId, result, payloadToAppend);
43
41
  } catch (error) {
44
42
  console.error(_chalk.default.red(`\nError: ${error.message}`));
45
43
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.0.6-cli.8.2.2",
3
+ "version": "1.0.6-cli.8.2.3",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",