From 70940682b527a5da3e7a75cace64b479e75c4913 Mon Sep 17 00:00:00 2001 From: Minsik Yoon Date: Mon, 13 Jun 2016 18:45:38 +0900 Subject: [PATCH] update indent --- lib/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/index.js b/lib/index.js index 9e1d748..0126c75 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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 );