Closed Legends closed 4 years ago
Please have a look at the code here
https://github.com/raszi/node-tmp/blob/master/lib/tmp.js#L131
The dir option overrides the standard tmp directory and is considered relative to the current working directory or an absolute directory, if you pass in an absolute path starting with /.
If you need it to reside under the standard tmp directory, pass in
var fileOptions = {
...
dir: `${tmp.tmpdir}/PARTIALS-INJECTOR`
};
Thanks!
related to #205 and #207 and #206
Operating System
NodeJS Version
Tmp Version
TBD:0.1.0
Expected Behavior
TBD:What have you expected tmp to do? Create a file
Experienced Behavior
TBD:What did actually happen?
Example:
The folder exists in the
Temp
folder.