Skip to content

Commit

Permalink
doc: correct os.tmp default
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 10, 2023
1 parent 4b228c9 commit 6b8aa29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -23,7 +23,9 @@ Options:

* `tmp`: Temp folder to use to place files and folders for the Windows
implementation. Must be on the same physical device as the path being
deleted. Defaults to `dirname(f)`.
deleted. Defaults to `os.tmpdir()` when that is on the same drive letter
as the path being deleted, or `${drive}:\temp` if present, or `${drive}:\`
if not.
* `preserveRoot`: If set to boolean `false`, then allow the recursive
removal of the root directory. Otherwise, this is not allowed.

Expand Down

0 comments on commit 6b8aa29

Please sign in to comment.