Skip to content

Commit

Permalink
fix(update): Fix update script so it uses absolute directory when cre…
Browse files Browse the repository at this point in the history
…ating downloads dir.
  • Loading branch information
evansiroky committed Nov 7, 2016
1 parent 69f4f30 commit d9cdc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var downloadLatest = function (callback) {
rimraf(dlFile, cb)
},
mkdir: ['rm', function (results, cb) {
mkdirp('downloads', cb)
mkdirp(__dirname + '/../downloads', cb)
}],
dl: ['mkdir', 'getLatestUrl', function (results, cb) {
https.get({
Expand Down

0 comments on commit d9cdc11

Please sign in to comment.