@hubspot/cli 8.1.2-experimental.1 → 8.1.2-experimental.2

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.
@@ -77,6 +77,7 @@ function moduleCreateBuilder(yargs) {
77
77
  describe: commands.cms.subcommands.module.subcommands.create.options
78
78
  .availableForNewContent,
79
79
  type: 'boolean',
80
+ default: true,
80
81
  });
81
82
  return yargs;
82
83
  }
@@ -100,9 +100,6 @@ export class HsCreateModuleTool extends Tool {
100
100
  if (availableForNewContent !== undefined) {
101
101
  command = addFlag(command, 'available-for-new-content', availableForNewContent);
102
102
  }
103
- else {
104
- command = addFlag(command, 'available-for-new-content', true);
105
- }
106
103
  try {
107
104
  const { stdout, stderr } = await runCommandInDir(absoluteCurrentWorkingDirectory, command);
108
105
  return formatTextContents(stdout, stderr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cli",
3
- "version": "8.1.2-experimental.1",
3
+ "version": "8.1.2-experimental.2",
4
4
  "description": "The official CLI for developing on HubSpot",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/HubSpot/hubspot-cli",