We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d84a78 commit 54e61d8Copy full SHA for 54e61d8
lib/rewire.js
@@ -37,7 +37,8 @@ function internalRewire(parentModulePath, targetPath) {
37
prelude = getImportGlobalsSrc();
38
39
// We append our special setter and getter.
40
- appendix = "module.exports.__set__ = " + __set__.toString() + "; ";
+ appendix = "\n";
41
+ appendix += "module.exports.__set__ = " + __set__.toString() + "; ";
42
appendix += "module.exports.__get__ = " + __get__.toString() + "; ";
43
44
// Check if the module uses the strict mode.
0 commit comments