style: lint

This commit is contained in:
手瓜一十雪
2025-02-02 20:17:28 +08:00
parent 90a82dcc9a
commit 76501bae34
135 changed files with 529 additions and 529 deletions

View File

@@ -1,5 +1,5 @@
// TODO: further refactor in NapCat.Packet v2
import { NapProtoMsg, ProtoField, ScalarType } from "@napneko/nap-proto-core";
import { NapProtoMsg, ProtoField, ScalarType } from '@napneko/nap-proto-core';
const LikeDetail = {
txt: ProtoField(1, ScalarType.STRING),

View File

@@ -32,7 +32,7 @@ export class RkeyManager {
}
if (this.failureCount >= this.FAILURE_LIMIT) {
this.logger.logError(`[Rkey] 服务存在异常, 图片使用FallBack机制`);
this.logger.logError('[Rkey] 服务存在异常, 图片使用FallBack机制');
throw new Error('获取rkey失败次数过多请稍后再试');
}

View File

@@ -1,5 +1,5 @@
import os from "node:os";
import EventEmitter from "node:events";
import os from 'node:os';
import EventEmitter from 'node:events';
export interface SystemStatus {
cpu: {