Skip to content

Commit

Permalink
Fix more JSHint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Nov 20, 2012
1 parent f925fb9 commit faa3cf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"node": true,
"devel": true,

"bitwise": true,
"bitwise": false,
"curly": false,
"eqeqeq": true,
"forin": false,
Expand Down
10 changes: 7 additions & 3 deletions bin/bower
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ if (options.version) return console.log(bower.version);
if (~cmdList.indexOf(command = options.argv.remain && options.argv.remain.shift())) bower.command = command;

bower.commands[bower.command || 'help'].line(input)
.on('data', function (data) { data && console.log(data); })
.on('end', function (data) { data && console.log(data); })
.on('data', function (data) {
if (data) console.log(data);
})
.on('end', function (data) {
if (data) console.log(data);
})
.on('error', function (err) {
if (options.verbose) throw err;
else template('error', { message: err.message }).on('data', function (d) { console.log (d); });
else template('error', { message: err.message }).on('data', function (d) { console.log(d); });
});

0 comments on commit faa3cf4

Please sign in to comment.