Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ths",
"version": "2.1.5",
"version": "2.1.6",
"description": "A module that lets you start a Tor instance, use bridges and create Tor hidden services from node.js",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion passhash.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function(length, callback, cmd){
torProcess.on('close', function(){
output = output.split('\n');
var hash;
for (var i = output.length - 1; i > 0; i--){
for (var i = output.length - 1; i >= 0; i--){
if (output[i] && output[i] != ""){
hash = output[i];
break;
Expand Down