remove use of var
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var schema = {
|
||||
const schema = {
|
||||
payload: { type: 'object', enabled: false },
|
||||
priority: { type: 'short' },
|
||||
timeout: { type: 'long' },
|
||||
|
||||
@@ -25,7 +25,7 @@ export default class Esqueue extends events.EventEmitter {
|
||||
}
|
||||
|
||||
_initTasks() {
|
||||
var initTasks = [
|
||||
const initTasks = [
|
||||
this.client.ping({ timeout: 3000 }),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user