Skip to content

Commit 370e127

Browse files
h5aaimtrongfoidl
andauthored
Update src/Http/Http/src/BindingAddress.cs
Applying suggestion to match linting. Co-authored-by: Günther Foidl <[email protected]>
1 parent 9426b00 commit 370e127

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Http/Http/src/BindingAddress.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ public static BindingAddress Parse(string address)
217217
hasSpecifiedPort = true;
218218
host = address.Substring(schemeDelimiterEnd, portDelimiterStart - schemeDelimiterEnd);
219219
port = portNumber;
220-
}else{
220+
}
221+
else
222+
{
221223
throw new FormatException($"Invalid port: '{portString}'");
222224
}
223225
}

0 commit comments

Comments
 (0)