Permalink
Browse files

jump out of teh cli.js if it's not the main module.

  • Loading branch information...
1 parent f069784 commit 5a187cb696374d4bf601b68a63844e8ee3150b0d @isaacs committed Sep 1, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/cli-wrapper.js
View
@@ -1,3 +1,6 @@
+
+if (module !== require.main) return
+
var path = require("path"),
url = require("url"),
sys = require("sys");

0 comments on commit 5a187cb

Please sign in to comment.