feat: bind

This commit is contained in:
手瓜一十雪 committed 2024-09-22 16:59:45 +08:00
1 parent 742e9f9493
commit 2ba1ef56e3
17 files changed
+82 -86

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ export async function encodeSilk(filePath: string, TEMP_DIR: string, logger: Log
};
}
} catch (error: any) {
logger.logError('convert silk failed', error.stack);
logger.logError.bind(logger)('convert silk failed', error.stack);
return {};
}
}