Skip to content

Commit 6b8aa29

Browse files
committed
doc: correct os.tmp default
1 parent 4b228c9 commit 6b8aa29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ Options:
2323

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

0 commit comments

Comments
 (0)