We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ad512 commit a66023aCopy full SHA for a66023a
lib/tmp.js
@@ -241,8 +241,6 @@ function file(options, callback) {
241
opts = args[0],
242
cb = args[1];
243
244
- opts.postfix = isBlank(opts.postfix) ? '.tmp' : opts.postfix;
245
-
246
// gets a temporary filename
247
tmpName(opts, function _tmpNameCreated(err, name) {
248
/* istanbul ignore else */
@@ -294,8 +292,6 @@ function fileSync(options) {
294
292
args = _parseArguments(options),
295
293
opts = args[0];
296
297
298
299
const discardOrDetachDescriptor = opts.discardDescriptor || opts.detachDescriptor;
300
const name = tmpNameSync(opts);
301
var fd = fs.openSync(name, CREATE_FLAGS, opts.mode || FILE_MODE);
0 commit comments