Skip to content

Commit

Permalink
use unlinkSync since it exists in old node
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Mar 24, 2024
1 parent ac418db commit 1b5c9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function updateTempFile(path) {

function removeTempFile(path) {
setTimeout(function() {
fs.rmSync(path);
fs.unlinkSync(path);
}, 125);
}

Expand Down

0 comments on commit 1b5c9fd

Please sign in to comment.