Skip to content

🎥 Make videos programmatically with React

fix prettier error

李奕鹏b0c1aba17089
diff --git a/packages/renderer/src/print-useful-error-message.ts b/packages/renderer/src/print-useful-error-message.ts
index 14f5672679..e1a761a4c5 100644
--- a/packages/renderer/src/print-useful-error-message.ts
+++ b/packages/renderer/src/print-useful-error-message.ts
@@ -1,10 +1,12 @@
/* eslint-disable no-console */
+import TTLCache from '@isaacs/ttlcache';
import type {LogLevel} from './log-level';
import {Log} from './logger';
import {truthy} from './truthy';
-import TTLCache from '@isaacs/ttlcache'
-const alreadyPrintedCache = new TTLCache<Error, Boolean>({ ttl: 3 * 60 * 60 * 1000 });
+const alreadyPrintedCache = new TTLCache<Error, Boolean>({
+ ttl: 3 * 60 * 60 * 1000,
+});
export const printUsefulErrorMessage = (
err: Error,