Closed silkentrance closed 5 years ago
If tmp cannot create a tmp file or directory, especially when using the name option, because a file or directory of that name already exists, it will fail on max tries reached.
On second thought:
tries = opts.name ? 1 : opts.tries || DEFAULT_TRIES;
already prevents this. Closing.
If tmp cannot create a tmp file or directory, especially when using the name option, because a file or directory of that name already exists, it will fail on max tries reached.