Skip to content

Commit 21035da

Browse files
author
David Hasani
committed
fix e2e test
1 parent 2dfd461 commit 21035da

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
@@ -365,7 +365,7 @@ export class ProposedTransformationExplorer {
365365
})
366366

367367
vscode.commands.registerCommand('aws.amazonq.transformationHub.summary.reveal', async () => {
368-
if (transformByQState.getSummaryFilePath() !== '') {
368+
if (fs.existsSync(transformByQState.getSummaryFilePath())) {
369369
await vscode.commands.executeCommand(
370370
'markdown.showPreview',
371371
vscode.Uri.file(transformByQState.getSummaryFilePath())

0 commit comments

Comments
 (0)