Skip to content

Commit 5329f27

Browse files
Merge branch 'v2-beta-dev' into fix/config-test
2 parents d1f830b + 7d85b8f commit 5329f27

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

  • packages/contentstack-import/src/commands/cm/stacks

packages/contentstack-import/src/commands/cm/stacks/import.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,7 @@ export default class ImportCommand extends Command {
148148
const moduleImporter = new ModuleImporter(managementAPIClient, importConfig);
149149
const result = await moduleImporter.start();
150150
backupDir = importConfig.backupDir;
151-
152-
if (!result?.noSuccessMsg) {
153-
const successMessage = importConfig.stackName
154-
? `Successfully imported the content to the stack named ${importConfig.stackName} with the API key ${importConfig.apiKey} .`
155-
: `The content has been imported to the stack ${importConfig.apiKey} successfully!`;
156-
log.success(successMessage, importConfig.context);
157-
}
158-
151+
//Note: Final summary is now handled by summary manager
159152
CLIProgressManager.printGlobalSummary();
160153
this.logSuccessAndBackupMessages(backupDir, importConfig);
161154
// Clear progress module setting now that import is complete

0 commit comments

Comments
 (0)