Skip to content
Browse files

Fix more JSHint issues.

  • Loading branch information...
1 parent f925fb9 commit faa3cf4cb82a98aed9afa23726c268ec4ebcc391 @satazor satazor committed
Showing with 8 additions and 4 deletions.
  1. +1 −1 .jshintrc
  2. +7 −3 bin/bower
View
2 .jshintrc
@@ -13,7 +13,7 @@
"node": true,
"devel": true,
- "bitwise": true,
+ "bitwise": false,
"curly": false,
"eqeqeq": true,
"forin": false,
View
10 bin/bower
@@ -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.
Something went wrong with that request. Please try again.