Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: eternal-flame-AD <[email protected]>
  • Loading branch information
eternal-flame-AD committed Jul 24, 2024
1 parent e4026cf commit b2f3bb9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/index.test.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion src/lib/server/database/loadData.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion src/routes/api/database/song/[id]/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand Down
1 change: 0 additions & 1 deletion src/routes/database/edit/[id]/+page.server.ts
Original file line number Diff line number Diff line change
@@ -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 }) {
Expand Down

0 comments on commit b2f3bb9

Please sign in to comment.