kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(lint): fix linting error
rodzic
51f37afb72
commit
096a435d56
|
@ -0,0 +1 @@
|
|||
Add custom logging functionality (#2155)
|
|
@ -48,7 +48,7 @@ const FILETYPE_COLOR: Record<string, string> = {
|
|||
const createLoggerFn = (level: LogLevel) => {
|
||||
// NOTE: Don't log time and debug in production
|
||||
if (level === 'time' || level === 'debug') {
|
||||
if (import.meta.env.PROD) return () => { }
|
||||
if (import.meta.env.PROD) return () => undefined
|
||||
}
|
||||
|
||||
return async (...args: any[]) => {
|
||||
|
|
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue