remove unused imports

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
eternal-flame-AD 2024-07-24 13:07:37 -05:00
parent e4026cf022
commit b2f3bb9602
No known key found for this signature in database
4 changed files with 0 additions and 4 deletions

View File

@ -1,4 +1,3 @@
import path from 'path';
import { describe, it, expect } from 'vitest';
import formatDuration from '$lib/formatDuration';
import { safePath } from '$lib/server/safePath';

View File

@ -1,5 +1,4 @@
import fs from 'fs';
import path from 'path';
import { globalMemoryStorage, songData, songNameCache } from '$lib/server/cache.js';
import { getDirectoryHash } from '../dirHash';
import { safePath } from '../safePath';

View File

@ -2,7 +2,6 @@ import { safePath } from '$lib/server/safePath';
import { getCurrentFormattedDateTime } from '$lib/songUpdateTime';
import { json, error } from '@sveltejs/kit';
import fs from 'fs';
import path from 'path';
export async function GET({ params }) {
const filePath = safePath(`${params.id}.json`, { base: './data/song' });

View File

@ -1,7 +1,6 @@
/** @type {import('./$types').PageLoad} */
import { safePath } from '$lib/server/safePath';
import fs from 'fs';
import path from 'path';
export function load({ params }) {