diff options
Diffstat (limited to 'lib/rewire.js')
-rw-r--r-- | lib/rewire.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rewire.js b/lib/rewire.js index 3556533..bb7c176 100644 --- a/lib/rewire.js +++ b/lib/rewire.js @@ -37,7 +37,8 @@ function internalRewire(parentModulePath, targetPath) { prelude = getImportGlobalsSrc(); // We append our special setter and getter. - appendix = "module.exports.__set__ = " + __set__.toString() + "; "; + appendix = "\n"; + appendix += "module.exports.__set__ = " + __set__.toString() + "; "; appendix += "module.exports.__get__ = " + __get__.toString() + "; "; // Check if the module uses the strict mode. |