Enable prefer-const lint rule (#3202)
This commit is contained in:
committed by
Florent Vilmart
parent
a6c988176e
commit
ca286b7108
@@ -7,8 +7,8 @@ export class CloudCodeRouter extends PromiseRouter {
|
||||
}
|
||||
|
||||
static getJobs(req) {
|
||||
let config = req.config;
|
||||
let jobs = triggers.getJobs(config.applicationId) || {};
|
||||
const config = req.config;
|
||||
const jobs = triggers.getJobs(config.applicationId) || {};
|
||||
return Promise.resolve({
|
||||
response: Object.keys(jobs).map((jobName) => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user