Skip to content

Commit

Permalink
test script and deps updated along with error msg
Browse files Browse the repository at this point in the history
test script and deps updated

updated error message
  • Loading branch information
matt-oc committed Apr 21, 2016
1 parent 02199b0 commit e4c8a73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ function cmdGet (msg, done) {
}

if (!params.user || !params.repo) {
return done(new Error('not found on npm'))
return done(new Error('not found on github'))
}

queryGithub(params, done)
}
else{
return done(new Error('not found on npm'))
return done(new Error('not found on github'))
}
})
})
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "node srv/start.js",
"isolated": "GITHUB_ISOLATED=true node srv/start.js",
"lint": "lab -P test -dL",
"test": "lab -m 5000 -t 75 -v -P test",
"test": "lab -v -P test -L -c -t 64",
"cov": "lab -s -P test -r lcov | coveralls"
},
"main": "lib/github.js",
Expand Down Expand Up @@ -35,6 +35,7 @@
"license": "MIT",
"dependencies": {
"github4": "0.5.4",
"proxyquire": "1.7.4",
"request": "2.70.0",
"seneca": "2.0.0",
"seneca-balance-client": "0.4.0",
Expand Down

0 comments on commit e4c8a73

Please sign in to comment.