ubdate
This commit is contained in:
13
node_modules/temp-dir/index.js
generated
vendored
Normal file
13
node_modules/temp-dir/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
|
||||
const ID = '__RESOLVED_TMP_DIR__';
|
||||
|
||||
if (!global[ID]) {
|
||||
Object.defineProperty(global, ID, {
|
||||
value: fs.realpathSync(os.tmpdir())
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = global[ID];
|
||||
Reference in New Issue
Block a user