Skip to content

Commit e4c8a73

Browse files
committed
test script and deps updated along with error msg
test script and deps updated updated error message
1 parent 02199b0 commit e4c8a73

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/github.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ function cmdGet (msg, done) {
5959
}
6060

6161
if (!params.user || !params.repo) {
62-
return done(new Error('not found on npm'))
62+
return done(new Error('not found on github'))
6363
}
6464

6565
queryGithub(params, done)
6666
}
6767
else{
68-
return done(new Error('not found on npm'))
68+
return done(new Error('not found on github'))
6969
}
7070
})
7171
})

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"start": "node srv/start.js",
77
"isolated": "GITHUB_ISOLATED=true node srv/start.js",
88
"lint": "lab -P test -dL",
9-
"test": "lab -m 5000 -t 75 -v -P test",
9+
"test": "lab -v -P test -L -c -t 64",
1010
"cov": "lab -s -P test -r lcov | coveralls"
1111
},
1212
"main": "lib/github.js",
@@ -35,6 +35,7 @@
3535
"license": "MIT",
3636
"dependencies": {
3737
"github4": "0.5.4",
38+
"proxyquire": "1.7.4",
3839
"request": "2.70.0",
3940
"seneca": "2.0.0",
4041
"seneca-balance-client": "0.4.0",

0 commit comments

Comments
 (0)