Skip to content

Commit 0ef0810

Browse files
Merge master into feature/emr
2 parents 2f9a2db + 6d3670a commit 0ef0810

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "/transform: allow View Summary button to work even after accepting diff"
4+
}

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,10 @@ export class ProposedTransformationExplorer {
343343
}
344344

345345
diffModel.clearChanges()
346-
transformByQState.setSummaryFilePath('')
346+
// update summary path to where it is locally after user accepts changes, so that View Summary button works
347+
transformByQState.setSummaryFilePath(
348+
path.join(transformByQState.getProjectPath(), ExportResultArchiveStructure.PathToSummary)
349+
)
347350
transformByQState.setProjectCopyFilePath('')
348351
transformByQState.setResultArchiveFilePath('')
349352
transformDataProvider.refresh()

0 commit comments

Comments
 (0)