Galerie und tage
This commit is contained in:
11
node_modules/tempfile/index.js
generated
vendored
11
node_modules/tempfile/index.js
generated
vendored
@@ -1,6 +1,9 @@
|
||||
'use strict';
|
||||
const path = require('path');
|
||||
const uuid = require('uuid');
|
||||
const tempDir = require('temp-dir');
|
||||
var path = require('path');
|
||||
var osTmpdir = require('os-tmpdir');
|
||||
var uuid = require('uuid');
|
||||
var TMP_DIR = osTmpdir();
|
||||
|
||||
module.exports = ext => path.join(tempDir, uuid.v4() + (ext || ''));
|
||||
module.exports = function (ext) {
|
||||
return path.join(TMP_DIR, uuid.v4() + (ext || ''));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user