Skip to content

Commit e9a1bcb

Browse files
style: auto format
1 parent c0785bd commit e9a1bcb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/routes/xhamster/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { load } from 'cheerio';
2+
23
import type { Route } from '@/types';
34
import got from '@/utils/got';
45
import { parseDate } from '@/utils/parse-date';
@@ -79,16 +80,16 @@ function renderDescription(video: VideoThumb): string {
7980
const views = video.views === undefined ? '' : video.views.toLocaleString();
8081
const quality = video.isUHD ? '<span>4K</span>' : '';
8182

82-
let meta = "";
83+
let meta = '';
8384

8485
if (quality) {
8586
meta += quality;
8687
}
8788
if (duration) {
88-
meta += `${meta ? " · " : ""}<strong>Duration:</strong> ${duration}`;
89+
meta += `${meta ? ' · ' : ''}<strong>Duration:</strong> ${duration}`;
8990
}
9091
if (views) {
91-
meta += `${meta ? " · " : ""}<strong>Views:</strong> ${views}`;
92+
meta += `${meta ? ' · ' : ''}<strong>Views:</strong> ${views}`;
9293
}
9394

9495
return `

0 commit comments

Comments
 (0)