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 844839d commit 62499fbCopy full SHA for 62499fb
tests/accuracy/sdk/accuracy-result-storage/disk-storage.ts
@@ -83,6 +83,7 @@ export class DiskBasedResultStorage implements AccuracyResultStorage {
83
if (status === AccuracyRunStatus.Done) {
84
const latestResultFilePath = this.getLatestResultFilePath(commitSHA);
85
await this.withFileLock(latestResultFilePath, async () => {
86
+ await fs.unlink(latestResultFilePath);
87
await fs.link(resultFilePath, latestResultFilePath);
88
});
89
}
0 commit comments