Skip to content

Commit d1a4df0

Browse files
Merge master into feature/stepfunctions-workflow
2 parents d8aee7b + 4e56897 commit d1a4df0

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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": "Amazon Q /test: Unit test generation displays an inaccurate diff view for non-primary packages in the workspace."
4+
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
"@vscode/debugprotocol": "^1.57.0",
522522
"@zip.js/zip.js": "^2.7.41",
523523
"adm-zip": "^0.5.10",
524-
"amazon-states-language-service": "^1.15.0",
524+
"amazon-states-language-service": "^1.16.1",
525525
"async-lock": "^1.4.0",
526526
"aws-sdk": "^2.1692.0",
527527
"aws-ssm-document-language-service": "^1.0.0",

packages/core/src/amazonqTest/chat/controller/controller.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -678,12 +678,7 @@ export class TestController {
678678
private async openDiff(message: OpenDiffMessage) {
679679
const session = this.sessionStorage.getSession()
680680
const filePath = session.generatedFilePath
681-
const workspaceFolder = vscode.workspace.workspaceFolders?.[0]
682-
if (!workspaceFolder) {
683-
throw new Error('No workspace folder found')
684-
}
685-
const projectPath = workspaceFolder.uri.fsPath
686-
const absolutePath = path.join(projectPath, filePath)
681+
const absolutePath = path.join(session.projectRootPath, filePath)
687682
const fileExists = await fs.existsFile(absolutePath)
688683
const leftUri = fileExists ? vscode.Uri.file(absolutePath) : vscode.Uri.from({ scheme: 'untitled' })
689684
const rightUri = vscode.Uri.file(path.join(this.tempResultDirPath, 'resultArtifacts', filePath))
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Step Functions: Expand data source and output options for Distributed Map in ASL language schema"
4+
}

0 commit comments

Comments
 (0)