diff --git a/index.js b/index.js index 9048d77..ca1d05f 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ module.exports = function (src, file) { if (typeof src !== 'string') src = String(src); try { - eval('throw "STOP"; (function () { ' + src + '})()'); + eval('throw "STOP"; (function () { ' + src + '\n})()'); return; } catch (err) {