Skip to content

Commit

Permalink
Use local-dev-lib for getValidEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 3, 2023
1 parent 2b58449 commit ee6d86b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/commands/project/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const {
DEVELOPER_SANDBOX,
getAvailableSyncTypes,
} = require('../../lib/sandboxes');
const { getValidEnv } = require('@hubspot/cli-lib/lib/environment');
const { getValidEnv } = require('@hubspot/local-dev-lib/environment');
const {
PROJECT_BUILD_TEXT,
PROJECT_DEPLOY_TEXT,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/sandbox/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const {
syncTypes,
validateSandboxUsageLimits,
} = require('../../lib/sandboxes');
const { getValidEnv } = require('@hubspot/cli-lib/lib/environment');
const { getValidEnv } = require('@hubspot/local-dev-lib/environment');
const { logger } = require('@hubspot/cli-lib/logger');
const {
trackCommandUsage,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/sandbox/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const { promptUser } = require('../../lib/prompts/promptUtils');
const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls');

const { getAccountName } = require('../../lib/sandboxes');
const { getValidEnv } = require('@hubspot/cli-lib/lib/environment');
const { getValidEnv } = require('@hubspot/local-dev-lib/environment');

const i18nKey = 'cli.commands.sandbox.subcommands.delete';

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/sandbox/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const {
getSyncTypesWithContactRecordsPrompt,
} = require('../../lib/sandboxes');
const { syncSandbox } = require('../../lib/sandbox-sync');
const { getValidEnv } = require('@hubspot/cli-lib/lib/environment');
const { getValidEnv } = require('@hubspot/local-dev-lib/environment');
const { isSpecifiedError } = require('../../lib/errorHandlers/apiErrors');
const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors');

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/sandbox-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const {
const { getHubSpotWebsiteOrigin } = require('@hubspot/cli-lib/lib/urls');
const { getEnv, getAccountId } = require('@hubspot/local-dev-lib/config');
const { createSandbox } = require('@hubspot/cli-lib/sandboxes');
const { getValidEnv } = require('@hubspot/cli-lib/lib/environment');
const { getValidEnv } = require('@hubspot/local-dev-lib/environment');

const i18nKey = 'cli.lib.sandbox.create';

Expand Down

0 comments on commit ee6d86b

Please sign in to comment.