@hubspot/local-dev-lib 0.7.4-experimental.3 → 0.7.4-experimental.4

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/config/index.js +1 -1
  2. package/package.json +1 -1
package/config/index.js CHANGED
@@ -204,7 +204,7 @@ export function getAllConfigAccounts() {
204
204
  export function getLinkedOrAllConfigAccounts() {
205
205
  const { accounts } = getConfig();
206
206
  const hsSettingsFile = getHsSettingsFileIfExists();
207
- if (!hsSettingsFile) {
207
+ if (!hsSettingsFile || hsSettingsFile.accounts.length === 0) {
208
208
  return accounts;
209
209
  }
210
210
  return accounts.filter(a => hsSettingsFile.accounts.includes(a.accountId));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/local-dev-lib",
3
- "version": "0.7.4-experimental.3",
3
+ "version": "0.7.4-experimental.4",
4
4
  "type": "module",
5
5
  "description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
6
6
  "repository": {