Skip to content

Commit

Permalink
tmp dir setting was being ignored in TmpStore
Browse files Browse the repository at this point in the history
  • Loading branch information
inversion committed May 18, 2016
1 parent 0e8c350 commit a9aaf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/store/tmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a9aaf53

Please sign in to comment.