Skip to content
Browse files

fixed: Don't convert newlines. Fixes #5.

  • Loading branch information...
1 parent 72bd531 commit a12c03298d727a987fd899c7e6da10b2d89fbc46 @gf3 committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/shovel.js
  2. +1 −1 package.json
View
2 lib/shovel.js
@@ -38,7 +38,7 @@ stdin.on( 'end', run )
function run() {
result = (function() {
try {
- return Script.runInNewContext( this.toString().replace( /\\([rn])/g, "\\\\$1" ), sandbox )
+ return Script.runInNewContext( this.toString(), sandbox )
}
catch (e) {
return e.name + ': ' + e.message
View
2 package.json
@@ -5,7 +5,7 @@
, "contributors":
[ "Dominic Tarr (http://cyber-hobo.blogspot.com)"
]
-, "version" : "0.8.0"
+, "version" : "0.8.1"
, "main" : "./lib/sandbox"
, "directories" : { "lib" : "./lib" }
, "engines" : [ "node >=0.3.0-pre" ]

0 comments on commit a12c032

Please sign in to comment.
Something went wrong with that request. Please try again.