Skip to content

Commit

Permalink
use local-dev-lib for getAccessToken
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Dec 7, 2023
1 parent eeb209f commit 3cd9a5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/cli/commands/accounts/info.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const { logger } = require('@hubspot/cli-lib/logger');
const { getAccountConfig } = require('@hubspot/local-dev-lib/config');
const { getAccessToken } = require('@hubspot/cli-lib/personalAccessKey.js');
const {
getAccessToken,
} = require('@hubspot/local-dev-lib/personalAccessKey.js');
const {
getAccountId,
addAccountOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/__tests__/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jest.mock('@hubspot/cli-lib');
jest.mock('@hubspot/local-dev-lib/config');
jest.mock('@hubspot/cli-lib/logger');
jest.mock('@hubspot/cli-lib/oauth');
jest.mock('@hubspot/cli-lib/personalAccessKey');
jest.mock('@hubspot/local-dev-lib/personalAccessKey');
jest.mock('../commonOpts');

describe('validation', () => {
Expand Down

0 comments on commit 3cd9a5a

Please sign in to comment.