Skip to content

Commit

Permalink
cli now uses os.tmpdir, rather than os.tmpDir. Fixes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Oct 31, 2016
1 parent 9c5c101 commit db75703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var os = require('os')
var fs = require('fs')
var path = require('path')

var tmpPath = path.join(os.tmpDir(), Date.now() + '-cla.js')
var tmpPath = path.join(os.tmpdir(), Date.now() + '-cla.js')

process.stdin
.pipe(fs.createWriteStream(tmpPath))
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"author": "Lloyd Brookes <[email protected]>",
"license": "MIT",
"devDependencies": {
"babel-preset-es2015": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"core-assert": "^0.2.1",
"coveralls": "^2.11.14",
"jsdoc-to-markdown": "^2.0.0",
"jsdoc-to-markdown": "^2.0.1",
"test-runner": "^0.2.5",
"test-value": "^2.1.0"
},
Expand Down

0 comments on commit db75703

Please sign in to comment.