From 6b8aa29a9cae103d4114f9f9eb63e981f6fd678f Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 24 May 2021 08:17:39 -0700 Subject: [PATCH] doc: correct os.tmp default --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9c8760c..7eef9291 100644 --- a/README.md +++ b/README.md @@ -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.