Skip to content

Commit

Permalink
Merge pull request #628 from inversion/use-tmp-dir
Browse files Browse the repository at this point in the history
tmp dir setting was being ignored in TmpStore
  • Loading branch information
gotwarlost authored Jun 14, 2016
2 parents 66fffdc + a9aaf53 commit c521035
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 c521035

Please sign in to comment.