Skip to content

Commit

Permalink
add import, use QA LDL version
Browse files Browse the repository at this point in the history
  • Loading branch information
brandenrodgers committed Jan 10, 2025
1 parent f5162b4 commit 787fd89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const { logger } = require('@hubspot/local-dev-lib/logger');
const { addUserAgentHeader } = require('@hubspot/local-dev-lib/http');
const {
loadConfig,
getAccountId,
configFileExists,
getConfigPath,
validateConfig,
Expand Down Expand Up @@ -194,7 +195,7 @@ const injectAccountIdMiddleware = async options => {
process.env.HUBSPOT_ACCOUNT_ID = process.env.HUBSPOT_PORTAL_ID;
options.derivedAccountId = parseInt(process.env.HUBSPOT_ACCOUNT_ID, 10);
} else {
options.derivedAccountId = getAccountIdFromConfig(account);
options.derivedAccountId = getAccountId(account);
}
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"repository": "https://github.com/HubSpot/hubspot-cli",
"dependencies": {
"@hubspot/local-dev-lib": "3.1.0",
"@hubspot/local-dev-lib": "3.1.1-beta.0",
"@hubspot/serverless-dev-runtime": "7.0.1",
"@hubspot/theme-preview-dev-server": "0.0.10",
"@hubspot/ui-extensions-dev-server": "0.8.40",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1446,10 +1446,10 @@
semver "^6.3.0"
unixify "^1.0.0"

"@hubspot/local-dev-lib@3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@hubspot/local-dev-lib/-/local-dev-lib-3.1.0.tgz#76b5d524aa694aad2bfc6e199ee1dac314f15774"
integrity sha512-iop3PgZ0ZWejCH6PmSeYnnGwV8vGIuA4F+w7SxukdX3QfhivlczClATWPaZanv1CYJHdflqoItq1kdF8ASJJmA==
"@hubspot/local-dev-lib@3.1.1-beta.0":
version "3.1.1-beta.0"
resolved "https://registry.yarnpkg.com/@hubspot/local-dev-lib/-/local-dev-lib-3.1.1-beta.0.tgz#2b827476deb4feec4b369743a5d7d056a56fc3f5"
integrity sha512-QoQZ17nc8rXOAK346KjQvMzL1O/+itoJaiE0raVhIXy7xkujrpV6kG+l6gCmnh5KKtzSrHH+uG6vj08robWC0A==
dependencies:
address "^2.0.1"
axios "^1.3.5"
Expand Down

0 comments on commit 787fd89

Please sign in to comment.