[chore] fixed some lint issues

This commit is contained in:
silentrald
2025-02-16 10:39:44 +08:00
parent 8b9b433f64
commit 701b3bf141
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -27,10 +27,10 @@ export function Log(options?: LogOptions){
const logOutput = options?.logOutput ?? true;
const logArgs = options?.logArgs ?? true;
return (target: unknown, propertyKey: string, descriptor: PropertyDescriptor) => {
return (_target: unknown, propertyKey: string, descriptor: PropertyDescriptor) => {
const originalMethod = descriptor.value;
descriptor.value = function(...args: unknown[]) {
descriptor.value = function func(...args: unknown[]) {
if (logInput) {
logInfo('INPUT', propertyKey, args, logArgs, null);
@@ -19,7 +19,6 @@ export class SongCacheService {
private readonly mapsInfoCache: JsonCache<CachedMapInfoWithHash>;
private constructor(){
console.log(this.MAPS_INFO_CACHE_PATH);
this.mapsInfoCache = new JsonCache(this.MAPS_INFO_CACHE_PATH);
}