@hubspot/cli 7.3.0-experimental.0 → 7.3.0-experimental.1

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/bin/cli.js +3 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -125,6 +125,7 @@ const setRequestHeaders = () => {
125
125
  addUserAgentHeader('HubSpot CLI', pkg.version);
126
126
  };
127
127
  const updateCLIVersion = async () => {
128
+ logger.debug('Checking for CLI updates', notifier);
128
129
  if (!process.env.SKIP_HUBSPOT_CLI_AUTO_UPDATES &&
129
130
  notifier &&
130
131
  notifier.update) {
@@ -133,6 +134,7 @@ const updateCLIVersion = async () => {
133
134
  updateInfo = await notifier.fetchInfo();
134
135
  }
135
136
  catch (e) {
137
+ logger.debug('Error fetching update info', e);
136
138
  return;
137
139
  }
138
140
  // Update if the current version is not the latest version.
@@ -162,7 +164,7 @@ const updateCLIVersion = async () => {
162
164
  }
163
165
  }
164
166
  catch (e) {
165
- logger.debug(e);
167
+ logger.debug('Error updating CLI', e);
166
168
  SpinniesManager.fail('cliAutoUpdate', {
167
169
  text: `Failed to update HubSpot CLI to version ${updateInfo.latest}`,
168
170
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cli",
3
- "version": "7.3.0-experimental.0",
3
+ "version": "7.3.0-experimental.1",
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",