Skip to content

Commit

Permalink
Merge pull request #284 from HubSpot/fix-debugging
Browse files Browse the repository at this point in the history
Fix debug logging when using a command with subcommands
  • Loading branch information
gcorne authored Aug 13, 2020
2 parents 42f3b2f + 5476ea4 commit 8b593fd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Change Log
* Add usage tracking for `hs secrets` subcommands ([#276](https://github.com/HubSpot/hubspot-cms-tools/pull/276))
* Begin process of migrating from `commander.js` to `yargs`
* Fix default `host_template_types` in `hs create module` ([#274](https://github.com/HubSpot/hubspot-cms-tools/pull/274))
* Fix handling of `--debug` option when running commands with subcommands ([#284](https://github.com/HubSpot/hubspot-cms-tools/pull/284))

## 1.1.9
* Fix to allow `hs filemanager fetch` to fetch all files
Expand Down
1 change: 0 additions & 1 deletion packages/cms-cli/commands/filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ function configureFileManagerCommand(program) {
.command('fetch <src> <dest>', 'download files from the file manager')
.command('upload <src> <dest>', 'upload files to the file manager');

addLoggerOptions(program);
addHelpUsageTracking(program);
}

Expand Down
1 change: 0 additions & 1 deletion packages/cms-cli/commands/hubdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ function configureHubDbCommand(program) {
.command('clear <tableId>', 'clear all rows in a HubDB table')
.command('delete <tableId>', 'delete a HubDB table');

addLoggerOptions(program);
addHelpUsageTracking(program);
}

Expand Down
1 change: 0 additions & 1 deletion packages/cms-cli/commands/secrets.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function configureSecretsCommand(program) {
.command('delete <name>', 'delete a HubSpot secret')
.command('list', 'list all HubSpot secrets');

addLoggerOptions(program);
addHelpUsageTracking(program);
}

Expand Down

0 comments on commit 8b593fd

Please sign in to comment.