Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Commit a9aaf53

Browse files
committed
tmp dir setting was being ignored in TmpStore
1 parent 0e8c350 commit a9aaf53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/store/tmp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ util.inherits(TmpStore, Store);
4646
Store.mix(TmpStore, {
4747
generateTmpFileName: function () {
4848
this.seq += 1;
49-
return this.prefix + this.seq + '.tmp';
49+
return path.join(this.tmp, this.prefix + this.seq + '.tmp');
5050
},
5151

5252
set: function (key, contents) {

0 commit comments

Comments
 (0)