Skip to content

Commit

Permalink
chore: npm testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangya committed Sep 1, 2016
1 parent 4144bee commit cc71812
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions lib/requestHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,8 @@ function userRequestHandler(req,userRes){
resourceInfo.resHeader = resHeader;
resourceInfo.resBody = serverResData;
resourceInfo.length = serverResData ? serverResData.length : 0;
<<<<<<< HEAD

GLOBAL.recorder && GLOBAL.recorder.updateRecord(resourceInfoId,resourceInfo);
=======

global.recorder && global.recorder.updateRecord(resourceInfoId,resourceInfo);
>>>>>>> 6521604... change: discard decrpecated GLOBAL

callback();

Expand Down Expand Up @@ -378,13 +373,8 @@ function connectReqHandler(req, socket, head){
resourceInfo.resHeader = {};
resourceInfo.resBody = "";
resourceInfo.length = 0;
<<<<<<< HEAD

GLOBAL.recorder && GLOBAL.recorder.updateRecord(resourceInfoId,resourceInfo);
=======

global.recorder && global.recorder.updateRecord(resourceInfoId,resourceInfo);
>>>>>>> 6521604... change: discard decrpecated GLOBAL

callback();
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"test": "sh test/test.sh",
"testserver": "node test/server/startServer.js"
},
"optionalDependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/alibaba/anyproxy"
Expand Down

0 comments on commit cc71812

Please sign in to comment.