[Pkg-javascript-commits] [node-mocks-http] 259/296: fixing linting error - why do we indent with 2 tabs???

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Feb 8 18:13:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

alteholz pushed a commit to branch master
in repository node-mocks-http.

commit 978dbed33ce2547329ca6d5c43a2b11785406534
Author: fiiv <mike.timofiiv at gmail.com>
Date:   Mon Sep 7 17:43:46 2015 +0200

    fixing linting error - why do we indent with 2 tabs???
---
 lib/mockRequest.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/mockRequest.js b/lib/mockRequest.js
index 7256cfc..a1e6591 100644
--- a/lib/mockRequest.js
+++ b/lib/mockRequest.js
@@ -77,9 +77,9 @@ function createRequest(options) {
 
     // attach any other provided objects into the request for more advanced testing
     for (var n in options) {
-      if (standardRequestOptions.indexOf(n) === -1) {
-        mockRequest[n] = options[n];
-      }
+        if (standardRequestOptions.indexOf(n) === -1) {
+            mockRequest[n] = options[n];
+        }
     }
 
     /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git



More information about the Pkg-javascript-commits mailing list