Browse files

Put console in the sandbox

  • Loading branch information...
1 parent d927d26 commit a175e42f90fca6d224ee93306a8ab3f05b1b894f @temas temas committed Feb 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Common/node/lsyncmanager.js
View
1 Common/node/lsyncmanager.js
@@ -230,6 +230,7 @@ function executeSynclet(info, synclet, callback, force) {
// remove anything that they add, but for now we'll allow it
// direct and see the impact
require:require,
+ console:console,
exports:{}
};
var context = vm.createContext(sandbox);

0 comments on commit a175e42

Please sign in to comment.