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

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 +4 -3
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -360911,7 +360911,7 @@ let MOCK_FEATURES_FN = undefined;
360911
360911
  function MOCK_FEATURES(mock) {
360912
360912
  MOCK_FEATURES_FN = mock;
360913
360913
  if (mock) {
360914
- log.warn('⚠️ Warning features system dowloader has been mocked, it should only happen in unit testing');
360914
+ log.warn('⚠️ Warning features system downloader has been mocked, it should only happen in unit testing');
360915
360915
  }
360916
360916
  }
360917
360917
  class FeaturesOverrider extends OverriderPatches {
@@ -364080,7 +364080,7 @@ class FeatureRepoChart extends BaseGithubChart {
364080
364080
  files: claim.files.map((file) => {
364081
364081
  return {
364082
364082
  ...file,
364083
- targetBranch: file.targetBranch,
364083
+ targetBranch: file.targetBranch ?? undefined,
364084
364084
  };
364085
364085
  }),
364086
364086
  firestartr: {
@@ -364098,7 +364098,8 @@ class FeatureRepoChart extends BaseGithubChart {
364098
364098
  ...cr.metadata.annotations,
364099
364099
  ...annotations,
364100
364100
  };
364101
- return cr;
364101
+ // We do this to remove undefined variables from the template
364102
+ return JSON.parse(JSON.stringify(cr, null, 2));
364102
364103
  }
364103
364104
  gvk() {
364104
364105
  return FirestartrGithubRepositoryFeature.GVK;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.53.0-snapshot-10",
3
+ "version": "1.53.0-snapshot-11",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",