mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Chore: Disable custom protocol debug logging
This commit is contained in:
parent
c4a7749f2a
commit
ac43c62ce8
@ -125,6 +125,11 @@ const handleRangeRequest = async (request: Request, targetPath: string) => {
|
|||||||
// TODO: Use Logger.create (doesn't work for now because Logger is only initialized
|
// TODO: Use Logger.create (doesn't work for now because Logger is only initialized
|
||||||
// in the main process.)
|
// in the main process.)
|
||||||
const handleCustomProtocols = (logger: LoggerWrapper): CustomProtocolHandler => {
|
const handleCustomProtocols = (logger: LoggerWrapper): CustomProtocolHandler => {
|
||||||
|
logger = {
|
||||||
|
...logger,
|
||||||
|
debug: () => {},
|
||||||
|
};
|
||||||
|
|
||||||
const readableDirectories: string[] = [];
|
const readableDirectories: string[] = [];
|
||||||
const readableFiles = new Map<string, number>();
|
const readableFiles = new Map<string, number>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user