Skip to content

Commit e2e9396

Browse files
[autofix.ci] apply automated fixes
1 parent 30c764b commit e2e9396

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

server/api/registry/readme/[...pkg].get.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ async function fetchReadmeFromJsdelivr(
1414
packageName: string,
1515
version?: string,
1616
): Promise<string | null> {
17-
const filenames = ['README.md', 'readme.md', 'Readme.md', 'README', 'readme', 'README.markdown', 'readme.markdown']
17+
const filenames = [
18+
'README.md',
19+
'readme.md',
20+
'Readme.md',
21+
'README',
22+
'readme',
23+
'README.markdown',
24+
'readme.markdown',
25+
]
1826
const versionSuffix = version ? `@${version}` : ''
1927

2028
for (const filename of filenames) {

0 commit comments

Comments
 (0)