@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.
- package/config/index.js +1 -1
- 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