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

Commit

Permalink
fix(handler.js): use exports instead of module.exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ebisbe authored and ranrib committed Feb 24, 2019
1 parent 1fabed5 commit fc6b852
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ epsagon.init({
metadataOnly: Boolean(METADATA_ONLY)
});
module.exports.METHOD = epsagon.WRAPPER_TYPE(handler.METHOD);
exports.METHOD = epsagon.WRAPPER_TYPE(handler.METHOD);
`,
tsnode: `
var epsagon = require('epsagon');
Expand All @@ -44,7 +44,7 @@ epsagon.init({
metadataOnly: Boolean(METADATA_ONLY)
});
module.exports.METHOD = epsagon.WRAPPER_TYPE(handler.METHOD);
exports.METHOD = epsagon.WRAPPER_TYPE(handler.METHOD);
`,
};

Expand Down

0 comments on commit fc6b852

Please sign in to comment.