chore: run a full eslint

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

No files matched your search

+7 -5
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');
}
}