From 78a5153e88f2801f0e15123fd12e2e86c88fb260 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Tue, 17 Oct 2023 13:51:51 -0500 Subject: [PATCH] refactor(types): remove jsforce imports --- src/commands/org/login/device.ts | 3 +-- src/commands/org/login/web.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/commands/org/login/device.ts b/src/commands/org/login/device.ts index a3caeae8..aabe34dd 100644 --- a/src/commands/org/login/device.ts +++ b/src/commands/org/login/device.ts @@ -5,8 +5,7 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { OAuth2Config } from 'jsforce'; -import { AuthFields, AuthInfo, DeviceOauthService, Messages } from '@salesforce/core'; +import { AuthFields, AuthInfo, DeviceOauthService, Messages, OAuth2Config } from '@salesforce/core'; import { Flags, loglevel } from '@salesforce/sf-plugins-core'; import { DeviceCodeResponse } from '@salesforce/core/lib/deviceOauthService'; import { ux } from '@oclif/core'; diff --git a/src/commands/org/login/web.ts b/src/commands/org/login/web.ts index 7b547058..feed9d11 100644 --- a/src/commands/org/login/web.ts +++ b/src/commands/org/login/web.ts @@ -8,8 +8,7 @@ import * as open from 'open'; import { Flags, loglevel } from '@salesforce/sf-plugins-core'; -import { OAuth2Config } from 'jsforce'; -import { AuthFields, AuthInfo, Logger, Messages, SfError, WebOAuthServer } from '@salesforce/core'; +import { AuthFields, AuthInfo, Logger, Messages, OAuth2Config, SfError, WebOAuthServer } from '@salesforce/core'; import { Env } from '@salesforce/kit'; import { Interfaces } from '@oclif/core'; import { AuthBaseCommand } from '../../../authBaseCommand';