1
0
mirror of synced 2025-12-23 11:54:18 -05:00

trailingCommas:all on prettier (#38888)

This commit is contained in:
Peter Bengtsson
2023-07-11 07:44:52 -04:00
committed by GitHub
parent 3e6c8c2900
commit 2ec905fc77
290 changed files with 908 additions and 898 deletions

View File

@@ -12,7 +12,7 @@ const supportedVersions = new Set(Object.keys(allVersions))
export function getPathWithLanguage(href, languageCode) {
return slash(path.posix.join('/', languageCode, getPathWithoutLanguage(href))).replace(
patterns.trailingSlash,
'$1'
'$1',
)
}