Lint and update

This commit is contained in:
2021-11-10 12:06:58 +01:00
parent dabdb26e9a
commit e1b4d2e1a5
118 changed files with 2477 additions and 778 deletions

View File

@@ -1,22 +1,22 @@
import { ApplicationContract } from '@ioc:Adonis/Core/Application'
import Logger from "@ioc:Adonis/Core/Logger";
import Logger from '@ioc:Adonis/Core/Logger'
export default class AppProvider {
public static needsApplication = true
public static needsApplication = true
constructor (protected app: ApplicationContract) {
constructor(protected app: ApplicationContract) {
}
public register () {
public register() {
// Register your own bindings
}
public async boot () {
public async boot() {
// IoC container is ready
Logger.info('Application is booting. Please wait...')
}
public async ready () {
public async ready() {
// App is ready
const StatsTask = await import('App/Tasks/StatsTask')
const StatesTask = await import('App/Tasks/StatesTask')
@@ -27,7 +27,7 @@ export default class AppProvider {
Logger.info('Application is ready!')
}
public async shutdown () {
public async shutdown() {
// Cleanup, since app is going down
const StatsTask = (await import('App/Tasks/StatsTask'))
const StatesTask = await import('App/Tasks/StatesTask')