From a9aaf5304284dc5e38ff0d930edf2a1f01030d30 Mon Sep 17 00:00:00 2001 From: Andrew Moss Date: Wed, 18 May 2016 10:40:38 +0100 Subject: [PATCH] tmp dir setting was being ignored in TmpStore --- lib/store/tmp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/store/tmp.js b/lib/store/tmp.js index d596fb13..a4e028d1 100644 --- a/lib/store/tmp.js +++ b/lib/store/tmp.js @@ -46,7 +46,7 @@ util.inherits(TmpStore, Store); Store.mix(TmpStore, { generateTmpFileName: function () { this.seq += 1; - return this.prefix + this.seq + '.tmp'; + return path.join(this.tmp, this.prefix + this.seq + '.tmp'); }, set: function (key, contents) {