Permalink
Browse files

update bin file

  • Loading branch information...
1 parent f7562f5 commit 9c4dbc643c1d3c5baf4abfc571589a59fef4370f @leonchen committed Feb 22, 2013
Showing with 4 additions and 4 deletions.
  1. +3 −3 bin/gitfs
  2. +1 −1 package.json
View
@@ -26,13 +26,13 @@ exec('git status', {cwd: repo}, function (err, stdout, stderr) {
debug: process.env['DEBUG']
});
-console.log(process.argv);
+ console.log("RUN with argv:", process.argv);
var action = process.argv[2];
var args = process.argv.slice(3);
var cb = function (err, data) {
- if (err) console.log(err);
- console.log(data.length);
+ if (err) return console.log(err);
+ console.log(data);
};
args.push(cb);
gf[action].apply(gf, args);
View
@@ -1,7 +1,7 @@
{
"name": "gitfs",
"description": "git data fetcher",
- "version": "0.0.1",
+ "version": "0.0.2",
"private": false,
"licenses": [ { "type": "MIT" }],
"author": "Leon Chen",

0 comments on commit 9c4dbc6

Please sign in to comment.