Skip to content

Commit 38eeb67

Browse files
committed
optimize(projects): optimize code
1 parent 207d6eb commit 38eeb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function createServiceConfig(env: Env.ImportMeta) {
1111
let other = {} as Record<App.Service.OtherBaseURLKey, string>;
1212
try {
1313
other = json5.parse(VITE_OTHER_SERVICE_BASE_URL);
14-
} catch (error) {
14+
} catch {
1515
// eslint-disable-next-line no-console
1616
console.error('VITE_OTHER_SERVICE_BASE_URL is not a valid json5 string');
1717
}

0 commit comments

Comments
 (0)