Skip to content

Commit d407bd9

Browse files
committed
editing the clear changes and updating test file
1 parent 09fce96 commit d407bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/service/transformByQ/transformationResultsViewProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ export class DiffModel {
235235

236236
public clearChanges() {
237237
this.patchFileNodes = []
238+
this.currentPatchIndex = 0
238239
}
239240
}
240241

@@ -337,7 +338,6 @@ export class ProposedTransformationExplorer {
337338
}
338339

339340
diffModel.clearChanges()
340-
diffModel.currentPatchIndex = 0
341341
transformByQState.setSummaryFilePath('')
342342
transformByQState.setProjectCopyFilePath('')
343343
transformByQState.setResultArchiveFilePath('')

0 commit comments

Comments
 (0)