Skip to content

Commit c34c00b

Browse files
committed
Better naming
1 parent 0ea2a22 commit c34c00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/flakeguard/runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ func (r *Runner) transformTestOutputFiles(filePaths []string) error {
577577
return fmt.Errorf("failed to open original file %s: %w", origPath, err)
578578
}
579579
// Create a temporary file for the transformed output.
580-
outFile, err := os.CreateTemp(RawOutputTransformedDir, "transformed-raw-output-*.json")
580+
outFile, err := os.Create(filepath.Join(RawOutputTransformedDir, fmt.Sprintf("transformed-%s.json", filepath.Base(origPath))))
581581
if err != nil {
582582
inFile.Close()
583583
return fmt.Errorf("failed to create transformed temp file: %w", err)

0 commit comments

Comments
 (0)