Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #628 from inversion/use-tmp-dir
tmp dir setting was being ignored in TmpStore
  • Loading branch information
gotwarlost committed 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
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.