Skip to content

Commit 49d8e73

Browse files
Change file extension of temp files
1 parent 7f2dbc8 commit 49d8e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ class PixelmatchHelper extends Helper {
469469
// the `run-workers` option, multiple workers might access a temp
470470
// file at the same time.
471471
const uid = Math.random().toString(36).slice(-5);
472-
const tempName = `~${uid}.temp`;
472+
const tempName = `~${uid}.temp.png`;
473473

474474
// Screenshot the current viewport into a temp file.
475475
await driver.saveScreenshot(tempName);

0 commit comments

Comments
 (0)