diff --git a/lib/tmp.js b/lib/tmp.js index 42cc6e4..1ba4bc9 100644 --- a/lib/tmp.js +++ b/lib/tmp.js @@ -480,8 +480,7 @@ function _generateTmpName(opts) { process.pid, '-', _randomChars(12), - '-', - opts.postfix ? opts.postfix : '' + opts.postfix ? '-' + opts.postfix : '' ].join(''); return path.join(tmpDir, opts.dir, name);