Skip to content

Commit b3692ac

Browse files
committed
remove fs imports from backend
1 parent 15e1218 commit b3692ac

File tree

3 files changed

+0
-93
lines changed

3 files changed

+0
-93
lines changed

backend/src/util/debug.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

backend/src/util/file-resolver.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

backend/src/util/logger.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { AsyncLocalStorage } from 'async_hooks'
21
import { mkdirSync } from 'fs'
32
import path from 'path'
43
import { format } from 'util'
@@ -17,8 +16,6 @@ import {
1716
const MAX_LENGTH = 65535 // Max total log size is sometimes 100k (sometimes 65535?)
1817
const BUFFER = 1000 // Buffer for context, etc.
1918

20-
const loggerAsyncStorage = new AsyncLocalStorage<LoggerContext>()
21-
2219
export const withLoggerContext = <T>(
2320
additionalContext: Partial<LoggerContext>,
2421
fn: () => Promise<T>,

0 commit comments

Comments
 (0)