chore: run a full eslint

This commit is contained in:
Wesley F. Young
2024-08-10 19:58:31 +08:00
parent 9a9511aad6
commit 116a04e081
198 changed files with 8187 additions and 7744 deletions

View File

@@ -1,6 +1,8 @@
import path, { dirname } from "path";
import { fileURLToPath } from "url";
export const napcat_version = "2.0.0";
import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
export const napcat_version = '2.0.0';
export class NapCatPathWrapper {
binaryPath: string;
logsPath: string;
@@ -8,7 +10,7 @@ export class NapCatPathWrapper {
constructor(mainPath: string = dirname(fileURLToPath(import.meta.url))) {
this.binaryPath = mainPath;
this.logsPath = path.join(this.binaryPath, "logs");
this.configPath = path.join(this.binaryPath, "config");
this.logsPath = path.join(this.binaryPath, 'logs');
this.configPath = path.join(this.binaryPath, 'config');
}
}