Skip to content

Commit

Permalink
fix: use temp path to save diff image
Browse files Browse the repository at this point in the history
  • Loading branch information
shtyr-maxim committed Jul 4, 2024
1 parent 37f5352 commit b77dcf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/images-info-saver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class ImagesInfoSaver extends EventEmitter2 {
util.format('Test result: %o\n', testResult) +
`Please report this error to html-reporter team: ${NEW_ISSUE_LINK}.`);
}
diffImg = await this._createDiffInFile(imagesInfo, reportDiffPath, workers);
diffImg = await this._createDiffInFile(imagesInfo, getTempPath(reportDiffPath), workers);
logger(`Created new diff in file ${reportDiffPath}`);
}

Expand Down

0 comments on commit b77dcf2

Please sign in to comment.