[Pkg-javascript-commits] [node-mocks-http] 245/296: Fix lint in `mock-express`

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Feb 8 18:13:41 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 b78005f5179fbc60146ee26fba8d0170874cb50e
Author: Johnny Estilles <johnny.estilles at agentia.asia>
Date:   Wed Jun 3 12:59:25 2015 +0800

    Fix lint in `mock-express`
---
 lib/express/mock-express.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/express/mock-express.js b/lib/express/mock-express.js
index 3ad3317..77f6bd8 100644
--- a/lib/express/mock-express.js
+++ b/lib/express/mock-express.js
@@ -8,8 +8,6 @@ var application = require('./mock-application');
 var request = require('./mock-request');
 var response = require('./mock-response');
 
-exports = module.exports = createApplication;
-
 function createApplication() {
   var app = function() {};
 
@@ -28,6 +26,8 @@ function createApplication() {
   return app;
 }
 
+exports = module.exports = createApplication;
+
 exports.application = application;
 exports.request = request;
 exports.response = response;

-- 
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