Skip to content

Commit

Permalink
Cleanup temporary directories even if non-empty (#8066)
Browse files Browse the repository at this point in the history
  • Loading branch information
corevo authored Mar 5, 2020
1 parent 4ea3119 commit 4820e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/io/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ exports.unlink = function(aPath) {
* @see https://www.npmjs.org/package/tmp
*/
exports.tmpDir = function() {
return checkedCall(tmp.dir);
return checkedCall(callback => tmp.dir({ unsafeCleanup : true }, callback));
};


Expand Down

0 comments on commit 4820e72

Please sign in to comment.