Skip to content

Commit 0de3221

Browse files
committed
Merge pull request #61 from shanel262/master
Added linting command to package
2 parents f27d5f0 + ae33f66 commit 0de3221

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function queryGithub (msg, done) {
101101
last: repo.pushed_at || '',
102102
urlRepo: 'https://github.com/' + msg.user + '/' + msg.repo,
103103
urlClone: 'git+https://github.com/' + msg.user + '/' + msg.repo + '.git',
104-
urlSSH: 'git@github.com:' + msg.user + '/' + msg.repo + '.git',
104+
urlSsh: 'git@github.com:' + msg.user + '/' + msg.repo + '.git',
105105
pullRequests: prs && prs.length || 0,
106106
cached: Date.now()
107107
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "A micro-service that provides Github related information to NodeZoo",
55
"scripts": {
66
"start": "node srv/start.js",
7-
"isolated": "GITHUB_ISOLATED=true node srv/start.js"
7+
"isolated": "GITHUB_ISOLATED=true node srv/start.js",
8+
"lint": "lab test -dL"
89
},
910
"main": "lib/github.js",
1011
"keywords": [

0 commit comments

Comments
 (0)