Skip to content

Commit 4b1dde5

Browse files
committed
⬆️ Upgrade dependencies
1 parent 6c88502 commit 4b1dde5

4 files changed

Lines changed: 856 additions & 593 deletions

File tree

‎lib/router.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = app => {
2323
return res.status(403).end()
2424
}
2525
const repos = Object.assign({}, app.scheduler.repos)
26-
for (let key in repos) {
26+
for (const key in repos) {
2727
if (repos[key] instanceof Date) {
2828
repos[key] = (repos[key].getTime() - new Date().getTime()) / 1000
2929
}
@@ -155,7 +155,7 @@ module.exports = app => {
155155
.catch(e => res.status(400).end(`Cannot compare ${e.message}`))
156156
})
157157
.catch(e => {
158-
let output = { statusCode: 400, body: `.github/${app.CONFIG_FILENAME} file has failed validation` }
158+
const output = { statusCode: 400, body: `.github/${app.CONFIG_FILENAME} file has failed validation` }
159159
if (e.message.indexOf('API rate limit exceeded') > -1) {
160160
output.body = `Github API rate limit exceeded`
161161
} else if (e.message.indexOf('404') > -1) {

0 commit comments

Comments
 (0)