Skip to content

Commit

Permalink
update indent
Browse files Browse the repository at this point in the history
  • Loading branch information
yms9654 authored Jun 13, 2016
1 parent cd67d94 commit 7094068
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ module.exports = {
return done();
}

var options = {
url: host + name,
};
if (process.env.http_proxy != null) {
options.proxy = process.env.http_proxy;
};

request( options )
var options = {
url: host + name,
};
if (process.env.http_proxy != null) {
options.proxy = process.env.http_proxy;
};
request( options )
.on( 'error', function( err ) {
logger.error( 'Error while downloading', name );
logger.error( err );
Expand Down

0 comments on commit 7094068

Please sign in to comment.