Skip to content

Commit

Permalink
Load config in hs open
Browse files Browse the repository at this point in the history
  • Loading branch information
kemmerle committed Oct 3, 2024
1 parent 44cb0a0 commit eca7da1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/commands/open.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const { trackCommandUsage } = require('../lib/usageTracking');
const { logSiteLinks, getSiteLinksAsArray, openLink } = require('../lib/links');
const { promptUser } = require('../lib/prompts/promptUtils');
const { i18n } = require('../lib/lang');
const { loadConfig } = require('@hubspot/local-dev-lib/config');

const i18nKey = 'commands.open';

Expand All @@ -32,6 +33,7 @@ exports.describe = i18n(`${i18nKey}.describe`);

exports.handler = async options => {
const { shortcut, list } = options;
loadConfig();
const accountId = getAccountId(options);

trackCommandUsage('open', null, accountId);
Expand Down

0 comments on commit eca7da1

Please sign in to comment.