Skip to content

Commit 462b15c

Browse files
authored
Merge pull request #10 from greenkeeperio/greenkeeper/standard-11.0.0
Update standard to the latest version 🚀
2 parents a3ea0fb + 6aeed23 commit 462b15c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

lib/follow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const statsdClient = new StatsD({
1717

1818
function hash (host) {
1919
return crypto.createHash('sha1')
20-
.update(host)
21-
.digest('hex')
22-
.slice(0, 8)
20+
.update(host)
21+
.digest('hex')
22+
.slice(0, 8)
2323
}
2424

2525
function parseRegistryUrl (registry) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"nyc": "^11.0.2",
1818
"proxyquire": "^2.0.0",
1919
"redis-mock": "^0.18.0",
20-
"standard": "^10.0.2",
20+
"standard": "^11.0.0",
2121
"tap": "^11.0.0"
2222
},
2323
"engines": {

test/follow.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ const {
6262
test('check follower invalid http response', t => {
6363
t.plan(1)
6464
nock('https://skimdb.npmjs.com')
65-
.get('/registry')
66-
.reply(500, {})
65+
.get('/registry')
66+
.reply(500, {})
6767

6868
checkFollower({
6969
registry: {
@@ -77,8 +77,8 @@ const {
7777
test('check follower valid seq', t => {
7878
t.plan(4)
7979
nock('https://skimdb.npmjs.com')
80-
.get('/registry')
81-
.reply(200, {update_seq: 5000})
80+
.get('/registry')
81+
.reply(200, {update_seq: 5000})
8282

8383
const client = redis.createClient()
8484
client.set('gk-seq', 4000, err => {
@@ -105,8 +105,8 @@ const {
105105
test('check follower invalid seq', t => {
106106
t.plan(5)
107107
nock('https://skimdb.npmjs.com')
108-
.get('/registry')
109-
.reply(200, {update_seq: 5000})
108+
.get('/registry')
109+
.reply(200, {update_seq: 5000})
110110

111111
const client = redis.createClient()
112112
client.set('gk-seq', 6000, err => {

0 commit comments

Comments
 (0)