Skip to content

Commit

Permalink
chore: update standard to version 11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Realtin committed Mar 5, 2018
1 parent c3ad8c1 commit bcf8b60
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ require('./lib/rollbar')
}, {
module: 'good-console'
},
'stdout']
'stdout']
}
}
}])
Expand Down
8 changes: 4 additions & 4 deletions lib/badges.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ module.exports = async function badges (server, options, next) {

function replyNotFound (reply) {
reply(notfound)
.type('image/svg+xml')
.etag(etags.notfound)
.type('image/svg+xml')
.etag(etags.notfound)
}

server.route({
Expand Down Expand Up @@ -119,8 +119,8 @@ module.exports = async function badges (server, options, next) {

const bt = getBadge(repoDoc, payDoc)
reply(bt[0])
.type('image/svg+xml')
.etag(bt[1])
.type('image/svg+xml')
.etag(bt[1])
}
next()
}
Expand Down
6 changes: 3 additions & 3 deletions lib/dbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = _.memoize(async function () {
mapDbName: dbname => dbname + (env.isProduction ? '' : '-staging')
})
return _(result.push)
.mapValues((v, name) => new PouchDB(resolve(env.COUCH_URL, name)))
.mapKeys((v, name) => name.replace('-staging', ''))
.value()
.mapValues((v, name) => new PouchDB(resolve(env.COUCH_URL, name)))
.mapKeys((v, name) => name.replace('-staging', ''))
.value()
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"nyc": "^11.0.1",
"standard": "^10.0.2",
"standard": "^11.0.0",
"tap": "^11.0.0"
},
"engines": {
Expand Down

0 comments on commit bcf8b60

Please sign in to comment.