From e53ab9b326e1440f141de1315bcaac6a38a84643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Krch?= Date: Mon, 2 Sep 2024 12:53:20 +0200 Subject: [PATCH] dotnet format fix --- KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs index 58294bd5..4ffdaebe 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs @@ -18,7 +18,7 @@ public class MediaLibraryInfoMapper(ILogger logger, Prim protected override MediaLibraryInfo? CreateNewInstance(MediaLibraryInfoMapperSource source, MappingHelper mappingHelper, AddFailure addFailure) => MediaLibraryInfo.New(); - private static readonly Regex allowedCharactersForLibraryName = new Regex(@"[^a-zA-Z0-9_]", RegexOptions.Compiled | RegexOptions.Singleline); + private static readonly Regex allowedCharactersForLibraryName = new(@"[^a-zA-Z0-9_]", RegexOptions.Compiled | RegexOptions.Singleline); protected override MediaLibraryInfo MapInternal(MediaLibraryInfoMapperSource s, MediaLibraryInfo target, bool newInstance, MappingHelper mappingHelper, AddFailure addFailure) { var (ksLibrary, ksSite) = s;