Skip to content

Commit ff27598

Browse files
committed
Fix build and adjust format
1 parent 42c7276 commit ff27598

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dev-proxy-abstractions/ProxyUtils.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public static void MergeHeaders(IList<MockResponseHeader> allHeaders, IList<Mock
355355
}
356356

357357
public static JsonSerializerOptions JsonSerializerOptions => jsonSerializerOptions;
358-
358+
359359
public static JsonDocumentOptions JsonDocumentOptions { get; } = new()
360360
{
361361
AllowTrailingCommas = true,
@@ -425,7 +425,8 @@ public static List<string> GetWildcardPatterns(List<string> urls)
425425
}
426426

427427
// For multiple URLs, find the common prefix
428-
var paths = group.Select(url => {
428+
var paths = group.Select(url =>
429+
{
429430
if (url.Contains('*'))
430431
{
431432
return url;
@@ -544,7 +545,7 @@ public static void ValidateSchemaVersion(string schemaUrl, ILogger logger)
544545
logger.LogDebug("Invalid schema {schemaUrl}, skipping schema version validation.", schemaUrl);
545546
}
546547
}
547-
catch(Exception ex)
548+
catch (Exception ex)
548549
{
549550
logger.LogWarning("Invalid schema {schemaUrl}, skipping schema version validation. Error: {error}", schemaUrl, ex.Message);
550551
}
@@ -628,6 +629,7 @@ public static int CompareSemVer(string? a, string? b)
628629
// if both versions are prerelease, b is greater
629630
return -1;
630631
}
632+
}
631633

632634
public static string GetVersionString(string productVersion)
633635
{

0 commit comments

Comments
 (0)