style: remove unused import

This commit is contained in:
linyuchen 2024-04-15 22:44:48 +08:00
parent 637d32efff
commit 5575c3cb13
2 changed files with 0 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import { dbUtil } from './db';
import * as fileType from 'file-type';
import { v4 as uuidv4 } from 'uuid';
import { napCatCore } from '@/core';
import os from 'node:os';
export const getNapCatDir = () => {
const p = path.join(napCatCore.wrapper.dataPath, 'NapCat');

View File

@ -1,5 +1,4 @@
import crypto from 'node:crypto';
import { resolve } from 'dns';
export function sleep(ms: number): Promise<void> {
return new Promise(resolve => setTimeout(resolve, ms));