Commit ff50af66 ff50af66b6c8fc4f3d5f48555b599d9f4118f0ee by Nicolas Perriault

proper exit when node is detected

1 parent 9d8e2777
......@@ -34,6 +34,7 @@
// node check
if (process && process.title === "node") {
console.error('CasperJS cannot be executed within a nodejs environment');
process.exit(1);
}
// phantom check
......