@firestartr/cli 1.53.0-snapshot-11 → 1.53.0-snapshot-12

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 +5 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -364078,9 +364078,10 @@ class FeatureRepoChart extends BaseGithubChart {
364078
364078
  org: claim.org,
364079
364079
  repositoryTarget,
364080
364080
  files: claim.files.map((file) => {
364081
+ if (file.targetBranch === '')
364082
+ delete file['targetBranch'];
364081
364083
  return {
364082
364084
  ...file,
364083
- targetBranch: file.targetBranch ?? undefined,
364084
364085
  };
364085
364086
  }),
364086
364087
  firestartr: {
@@ -364099,7 +364100,9 @@ class FeatureRepoChart extends BaseGithubChart {
364099
364100
  ...annotations,
364100
364101
  };
364101
364102
  // We do this to remove undefined variables from the template
364102
- return JSON.parse(JSON.stringify(cr, null, 2));
364103
+ const crTemplate = JSON.parse(JSON.stringify(cr, null, 2));
364104
+ console.log(crTemplate.spec);
364105
+ return crTemplate;
364103
364106
  }
364104
364107
  gvk() {
364105
364108
  return FirestartrGithubRepositoryFeature.GVK;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.53.0-snapshot-11",
3
+ "version": "1.53.0-snapshot-12",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",