We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb8a2e commit 8e59150Copy full SHA for 8e59150
packages/core/src/amazonqTest/chat/controller/controller.ts
@@ -1313,8 +1313,9 @@ export class TestController {
1313
'Deleting output.log and temp result directory. testGenerationLogsDir: %s',
1314
testGenerationLogsDir
1315
)
1316
- if (await fs.existsFile(path.join(testGenerationLogsDir, 'output.log'))) {
1317
- await fs.delete(path.join(testGenerationLogsDir, 'output.log'))
+ const outputLogPath = path.join(testGenerationLogsDir, 'output.log')
+ if (await fs.existsFile(outputLogPath)) {
1318
+ await fs.delete(outputLogPath)
1319
}
1320
if (
1321
await fs
0 commit comments