From 06f64ed068b222342931621e3f8d29b1867aaaf0 Mon Sep 17 00:00:00 2001 From: Ken Sternberg Date: Fri, 5 Jan 2024 16:17:20 -0800 Subject: [PATCH] fix for broken lint pass. --- web/packages/authentik/.storybook/css-import-maps.ts | 5 ++--- .../authentik/scripts/build-storybook-import-maps.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/packages/authentik/.storybook/css-import-maps.ts b/web/packages/authentik/.storybook/css-import-maps.ts index 69bda7100..3ac1aebb0 100644 --- a/web/packages/authentik/.storybook/css-import-maps.ts +++ b/web/packages/authentik/.storybook/css-import-maps.ts @@ -1,4 +1,3 @@ - // THIS IS A GENERATED FILE. DO NOT EDIT BY HAND. // // This file is generated by the build-storybook-import-maps script in the UI's base directory. @@ -75,7 +74,7 @@ type ImportMapType = Record; export const cssImportMaps = cssImportMapsBase.reduce( (acc: ImportMapType, importLine: string) => ({ ...acc, - [importLine]: importLine.replace(/.css/, ".css?inline"), + [importLine]: importLine.replace(/\.css/, ".css?inline"), }), - {} + {}, ); diff --git a/web/packages/authentik/scripts/build-storybook-import-maps.ts b/web/packages/authentik/scripts/build-storybook-import-maps.ts index 6ecf05a36..a50e48c80 100644 --- a/web/packages/authentik/scripts/build-storybook-import-maps.ts +++ b/web/packages/authentik/scripts/build-storybook-import-maps.ts @@ -82,7 +82,7 @@ type ImportMapType = Record; export const cssImportMaps = cssImportMapsBase.reduce( (acc: ImportMapType, importLine: string) => ({ ...acc, - [importLine]: importLine.replace(/\.css/, ".css?inline"), + [importLine]: importLine.replace(/\\.css/, ".css?inline"), }), {} );