From be2d60285e43f0629974ff86de037190c586d265 Mon Sep 17 00:00:00 2001 From: matthewp Date: Fri, 18 Aug 2023 19:45:55 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/content/utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/astro/src/content/utils.ts b/packages/astro/src/content/utils.ts index 23a305426..d02bd8669 100644 --- a/packages/astro/src/content/utils.ts +++ b/packages/astro/src/content/utils.ts @@ -209,7 +209,10 @@ export function getDataEntryId({ collection, }: Pick & { entry: URL; collection: string }): string { const relativePath = getRelativeEntryPath(entry, collection, contentDir); - const withoutFileExt = normalizePath(relativePath).replace(new RegExp(path.extname(relativePath) + '$'), ''); + const withoutFileExt = normalizePath(relativePath).replace( + new RegExp(path.extname(relativePath) + '$'), + '' + ); return withoutFileExt; }