remove unused imports
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
e4026cf022
commit
b2f3bb9602
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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' });
|
||||
|
@ -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 }) {
|
||||
|
Loading…
Reference in New Issue
Block a user