Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cli.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-06-13 10:13:30 +0400
committerisaacs <i@izs.me>2010-06-13 10:13:30 +0400
commitf86ce1128ab0f654b565734797ee4915411c7f77 (patch)
tree78143ce9607e1e16349e8d776dfd97b8d5516d71 /cli.js
parent0f692d59b733163133ae162b47ffb03e68f4b995 (diff)
Start with a reminder that it failed if you don't see "ok"
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli.js b/cli.js
index 8d9b0efe0..167a62dfc 100755
--- a/cli.js
+++ b/cli.js
@@ -2,13 +2,16 @@
// don't assume that npm is installed in any particular spot, since this
// might conceivably be a bootstrap attempt.
+var log = require("./lib/utils/log")
+
+log("ok", "it worked if it ends with")
+
var fs = require("fs")
, path = require("path")
, sys = require("sys")
, npm = require("./npm")
// supported commands.
- , log = require("./lib/utils/log")
, argv = process.argv.slice(2)
, arg = ""