From 72670a66fcc1ad7a3f7bb13014aea4b95d26f819 Mon Sep 17 00:00:00 2001 From: abhinavkumar2 Date: Fri, 1 Nov 2024 12:17:30 +0530 Subject: [PATCH] fix: fixed removed command --- src/commands/omnistudio/migration/assess.ts | 2 +- src/commands/omnistudio/migration/migrate.ts | 2 +- .../OmnistudioRelatedObjectMigrationFacade.ts | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) rename src/{commands/omnistudio/migration => migration/related}/OmnistudioRelatedObjectMigrationFacade.ts (90%) diff --git a/src/commands/omnistudio/migration/assess.ts b/src/commands/omnistudio/migration/assess.ts index 7c64f18..e97f6ab 100644 --- a/src/commands/omnistudio/migration/assess.ts +++ b/src/commands/omnistudio/migration/assess.ts @@ -12,7 +12,7 @@ import { DataRaptorMigrationTool } from '../../../migration/dataraptor'; import { DebugTimer, DataRaptorAssessmentInfo, FlexCardAssessmentInfo } from '../../../utils'; import { Logger } from '../../../utils/logger'; -import OmnistudioRelatedObjectMigrationFacade from './OmnistudioRelatedObjectMigrationFacade'; +import OmnistudioRelatedObjectMigrationFacade from '../../../migration/related/OmnistudioRelatedObjectMigrationFacade'; Messages.importMessagesDirectory(__dirname); const messages = Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'assess'); diff --git a/src/commands/omnistudio/migration/migrate.ts b/src/commands/omnistudio/migration/migrate.ts index b0e646b..05cc1db 100644 --- a/src/commands/omnistudio/migration/migrate.ts +++ b/src/commands/omnistudio/migration/migrate.ts @@ -19,7 +19,7 @@ import { ResultsBuilder } from '../../../utils/resultsbuilder'; import { CardMigrationTool } from '../../../migration/flexcard'; import { OmniScriptExportType, OmniScriptMigrationTool } from '../../../migration/omniscript'; import { Logger } from '../../../utils/logger'; -import OmnistudioRelatedObjectMigrationFacade from './OmnistudioRelatedObjectMigrationFacade'; +import OmnistudioRelatedObjectMigrationFacade from '../../../migration/related/OmnistudioRelatedObjectMigrationFacade'; // Initialize Messages with the current plugin directory Messages.importMessagesDirectory(__dirname); diff --git a/src/commands/omnistudio/migration/OmnistudioRelatedObjectMigrationFacade.ts b/src/migration/related/OmnistudioRelatedObjectMigrationFacade.ts similarity index 90% rename from src/commands/omnistudio/migration/OmnistudioRelatedObjectMigrationFacade.ts rename to src/migration/related/OmnistudioRelatedObjectMigrationFacade.ts index e3697c3..cb3d835 100644 --- a/src/commands/omnistudio/migration/OmnistudioRelatedObjectMigrationFacade.ts +++ b/src/migration/related/OmnistudioRelatedObjectMigrationFacade.ts @@ -3,13 +3,13 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Org } from '@salesforce/core'; -import '../../../utils/prototypes'; -import { DebugTimer, MigratedObject } from '../../../utils'; -import { RelatedObjectsMigrate } from '../../../migration/interfaces'; -import { sfProject } from '../../../utils/sfcli/project/sfProject'; -import { Logger } from '../../../utils/logger'; -import { ApexMigration } from '../../../migration/related/ApexMigration'; -import { LwcMigration } from '../../../migration/related/LwcMigration'; +import '../../utils/prototypes'; +import { DebugTimer, MigratedObject } from '../../utils'; +import { RelatedObjectsMigrate } from '../interfaces'; +import { sfProject } from '../../utils/sfcli/project/sfProject'; +import { Logger } from '../../utils/logger'; +import { ApexMigration } from './ApexMigration'; +import { LwcMigration } from './LwcMigration'; // Initialize Messages with the current plugin directory // Messages.importMessagesDirectory(__dirname);