Skip to content

Commit 28ca4d3

Browse files
[autofix.ci] apply automated fixes
1 parent 7770052 commit 28ca4d3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

app/components/OgImage/Compare.vue

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@ try {
4949
`https://api.npmjs.org/downloads/point/last-week/${encoded}`,
5050
{ timeout: FETCH_TIMEOUT_MS },
5151
).catch(() => null),
52-
$fetch<{ 'dist-tags'?: { latest?: string } }>(
53-
`https://registry.npmjs.org/${encoded}`,
54-
{
55-
timeout: FETCH_TIMEOUT_MS,
56-
headers: { Accept: 'application/vnd.npm.install-v1+json' },
57-
},
58-
).catch(() => null),
52+
$fetch<{ 'dist-tags'?: { latest?: string } }>(`https://registry.npmjs.org/${encoded}`, {
53+
timeout: FETCH_TIMEOUT_MS,
54+
headers: { Accept: 'application/vnd.npm.install-v1+json' },
55+
}).catch(() => null),
5956
])
6057
return {
6158
name,

0 commit comments

Comments
 (0)