From 263f9543a1861da94c24e97891f8712699ca6d14 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Tue, 2 Jan 2024 13:26:24 +0000 Subject: [PATCH] INT-2369 Do not display "No change was made from codemod" if codemod was halted --- src/components/engineService.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/engineService.ts b/src/components/engineService.ts index 5451831c..3ebfcc60 100644 --- a/src/components/engineService.ts +++ b/src/components/engineService.ts @@ -838,8 +838,11 @@ export class EngineService { ); commands.executeCommand('intuitaMainView.focus'); - - if (!this.#execution.affectedAnyFile) { + + if ( + !this.#execution.halted && + !this.#execution.affectedAnyFile + ) { window.showWarningMessage(Messages.noAffectedFiles); } }