Skip to content
Browse files

Small bug in the eval code

  • Loading branch information...
1 parent 1386dce commit f4ca7c68bf51426a3f2e7dd63b5814d63c66d9df Claudio Cicali committed Sep 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/jecho
  2. +1 −1 package.json
View
2 bin/jecho
@@ -331,7 +331,7 @@ var jecho = {
case '?':
try {
// console.log(command.slice(1).join(" "));
- _self.wsSend(JSON.stringify(eval("(" + command.slice(1).join(" ") + ")"), undefined, 2));
+ _self.wsSend(JSON.stringify(eval( command.slice(1).join(" ") ), undefined, 2));
} catch(e) {
_self.wsSend("ERR: " + e.message);
}
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "jecho",
- "version": "0.1.2",
+ "version": "0.1.3",
"description": "JavaScript remote web debugging tool",
"author": "Claudio Cicali <claudio.cicali@gmail.com>",
"main": "jecho.js",

0 comments on commit f4ca7c6

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