Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
del Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanjieDeng committed Oct 22, 2020
1 parent 9bfe84a commit 0eac077
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/nodejs-agent/lib/plugins/amqp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ module.exports = new Plugin("amqp-plugin", "amqp", [{
_description: "Enhance all version of amqp module",
_enhanceModules: ["amqp"],
canEnhance: function(version, enhanceFile) {
console.log("==============amqp canEnhance enhanceFile:"+enhanceFile+" version:"+version);
if (this._enhanceModules.indexOf(enhanceFile) > -1) {
return true;
}
return false;
},
getInterceptor: function(enhanceFile) {
console.log("==============amqp getInterceptor enhanceFile:"+enhanceFile);
return require("./" + enhanceFile);
},
}]);

0 comments on commit 0eac077

Please sign in to comment.