[Pkg-javascript-commits] [node-mocks-http] 74/296: fixed "path must be a string" error on lib/mockRequests.js
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:22 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 f41c450eb7679643e71fe7a60c1751cbf656f44f
Author: Johnny Estilles <johnny.estilles at agentia.asia>
Date: Sat Feb 28 16:18:33 2015 +0800
fixed "path must be a string" error on lib/mockRequests.js
---
lib/mockRequest.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mockRequest.js b/lib/mockRequest.js
index 96d3360..229f9d2 100644
--- a/lib/mockRequest.js
+++ b/lib/mockRequest.js
@@ -28,7 +28,7 @@
* body - The body values, , see <mockRequest._setBody>
*/
-var url = require(url);
+var url = require('url');
function createRequest(options) {
--
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