diff --git a/src/shared/local/localShadowRepo.ts b/src/shared/local/localShadowRepo.ts index 41f6efdb..4d42568f 100644 --- a/src/shared/local/localShadowRepo.ts +++ b/src/shared/local/localShadowRepo.ts @@ -12,7 +12,7 @@ import { NamedPackageDir, Lifecycle, Logger, SfError } from '@salesforce/core'; import { env } from '@salesforce/kit'; // @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM import git from 'isomorphic-git'; -import { Performance } from '@oclif/core'; +import { Performance } from '@oclif/core/performance'; import { RegistryAccess } from '@salesforce/source-deploy-retrieve'; import { chunkArray, excludeLwcLocalOnlyTest, folderContainsPath } from '../functions'; import { filenameMatchesToMap, getMatches } from './moveDetection'; diff --git a/src/shared/local/moveDetection.ts b/src/shared/local/moveDetection.ts index a2a58d15..cc31cf7c 100644 --- a/src/shared/local/moveDetection.ts +++ b/src/shared/local/moveDetection.ts @@ -15,7 +15,7 @@ import { // @ts-expect-error isogit has both ESM and CJS exports but node16 module/resolution identifies it as ESM import git from 'isomorphic-git'; import * as fs from 'graceful-fs'; -import { Performance } from '@oclif/core'; +import { Performance } from '@oclif/core/performance'; import { sourceComponentGuard } from '../guards'; import { isDeleted, isAdded, ensureWindows, toFilenames } from './functions'; import { AddAndDeleteMaps, FilenameBasenameHash, StatusRow, StringMap } from './types'; diff --git a/src/sourceTracking.ts b/src/sourceTracking.ts index 30484a05..c85b4f38 100644 --- a/src/sourceTracking.ts +++ b/src/sourceTracking.ts @@ -28,7 +28,7 @@ import { } from '@salesforce/source-deploy-retrieve'; // this is not exported by SDR (see the comments in SDR regarding its limitations) import { filePathsFromMetadataComponent } from '@salesforce/source-deploy-retrieve/lib/src/utils/filePathGenerator'; -import { Performance } from '@oclif/core'; +import { Performance } from '@oclif/core/performance'; import { RemoteSourceTrackingService, remoteChangeElementToChangeResult } from './shared/remoteSourceTrackingService'; import { ShadowRepo } from './shared/local/localShadowRepo'; import { throwIfConflicts, findConflictsInComponentSet, getDedupedConflictsFromChanges } from './shared/conflicts';