Skip to content

Commit

Permalink
Fixes alternative download path.
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash committed Jul 25, 2021
1 parent c4be583 commit 843a07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function downloadNgrok(callback, options) {
fs.mkdirSync(dir);
}
} catch (err) {
dir = path.join(__dirname, "..", "bin");
dir = path.join(__dirname, "bin");
}
const name = Buffer.from(cdnUrl).toString("base64");
return path.join(dir, name + ".zip");
Expand Down

0 comments on commit 843a07c

Please sign in to comment.