@firestartr/cli 2.6.3-snapshot-4 → 2.6.4

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.
Files changed (2) hide show
  1. package/build/index.js +17 -16
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -301649,7 +301649,10 @@ async function runGhProvisioner(data, opts) {
301649
301649
  let sessionId = null;
301650
301650
  let sessionProjectPath = null;
301651
301651
  gh_provisioner_src_logger.debug('[gh-provisioner] runGhProvisioner options keys:', Object.keys(opts || {}));
301652
- const tfOp = inferTFOperation(data.mainCr, opts);
301652
+ let tfOp = inferTFOperation(data.mainCr, opts);
301653
+ if (tfOp === 'nothing' && opts.debug) {
301654
+ tfOp = 'debug';
301655
+ }
301653
301656
  gh_provisioner_src_logger.info(`[gh-provisioner] Starting runGhProvisioner with tf op ${tfOp}`);
301654
301657
  sendWarnings();
301655
301658
  let entity;
@@ -301776,19 +301779,17 @@ function inferTFOperation(cr, opts) {
301776
301779
  ? 'plan'
301777
301780
  : opts.planDestroy
301778
301781
  ? 'plan-destroy'
301779
- : opts.create
301780
- ? 'apply'
301781
- : opts.update
301782
- ? 'apply'
301783
- : opts.delete
301784
- ? 'destroy'
301785
- : opts.debug
301786
- ? 'debug'
301787
- : isImport && needsReimport
301788
- ? 'import-with-reimport'
301789
- : isImport
301790
- ? 'import'
301791
- : 'nothing';
301782
+ : opts.delete
301783
+ ? 'destroy'
301784
+ : isImport || opts.import
301785
+ ? needsReimport
301786
+ ? 'import-with-reimport'
301787
+ : 'import'
301788
+ : opts.create
301789
+ ? 'apply'
301790
+ : opts.update
301791
+ ? 'apply'
301792
+ : 'nothing';
301792
301793
  //opts.import && opts.skipPlan && isImport
301793
301794
  // ? 'IMPORT_SKIP_PLAN'
301794
301795
  return operation;
@@ -303559,9 +303560,9 @@ const crs_analyzerSubcommand = {
303559
303560
  };
303560
303561
 
303561
303562
  ;// CONCATENATED MODULE: ./package.json
303562
- const package_namespaceObject = JSON.parse('{"i8":"2.6.3-snapshot-4"}');
303563
+ const package_namespaceObject = {"i8":"2.6.4"};
303563
303564
  ;// CONCATENATED MODULE: ../../package.json
303564
- const package_namespaceObject_1 = {"i8":"2.6.2"};
303565
+ const package_namespaceObject_1 = {"i8":"2.6.4"};
303565
303566
  ;// CONCATENATED MODULE: ./src/subcommands/index.ts
303566
303567
 
303567
303568
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "2.6.3-snapshot-4",
3
+ "version": "2.6.4",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",