chore: run eslint --fix

This commit is contained in:
CosminPerRam 2024-06-29 23:27:19 +03:00
parent 2c8fef316b
commit a5187f70f9
10 changed files with 61 additions and 62 deletions

View file

@ -10,7 +10,7 @@ export default class asa extends Epic {
this.deploymentId = 'ad9a8feffb3b4b2ca315546f038c3ae2'
}
async run(state) {
async run (state) {
await super.run(state)
state.version = state.raw.attributes.BUILDID_s + '.' + state.raw.attributes.MINORBUILDID_s
}

View file

@ -80,10 +80,10 @@ export default class dayz extends valve {
state.raw.dlcEnabled = true
}
if (tag.includes('privHive')) {
state.raw.privateHive = true;
state.raw.privateHive = true
}
if (tag.includes('external')) {
state.raw.external = true;
state.raw.external = true
}
if (tag.includes(':')) {
state.raw.time = tag

View file

@ -1,7 +1,7 @@
import samp from './samp.js'
export default class gtasao extends samp {
constructor() {
constructor () {
super()
this.isOmp = true
}

View file

@ -1,12 +1,12 @@
import Core from './core.js'
export default class minetest extends Core {
constructor() {
constructor () {
super()
this.usedTcp = true
}
async run(state) {
async run (state) {
const servers = await this.request({
url: 'https://servers.minetest.net/list',
responseType: 'json'

View file

@ -7,7 +7,7 @@ export default class quake1 extends quake2 {
this.isQuake1 = true
}
async run(state) {
async run (state) {
await super.run(state)
if ('*version' in state.raw) state.version = state.raw['*version']
}

View file

@ -1,12 +1,12 @@
import Core from './core.js'
export default class ragemp extends Core {
constructor() {
constructor () {
super()
this.usedTcp = true
}
async run(state) {
async run (state) {
const results = await this.request({
url: 'https://cdn.rage.mp/master/v2/',
responseType: 'json'