exclude macos ds_store, and format code
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -248,4 +248,5 @@ ModelManifest.xml
|
|||||||
coverage.opencover.xml
|
coverage.opencover.xml
|
||||||
coverage.json
|
coverage.json
|
||||||
coverage.info
|
coverage.info
|
||||||
output
|
.DS_Store
|
||||||
|
output
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ namespace System
|
|||||||
private static string AppendKeyValue(this string intitialValue, string key, IEnumerable<object> valuesEnum)
|
private static string AppendKeyValue(this string intitialValue, string key, IEnumerable<object> valuesEnum)
|
||||||
{
|
{
|
||||||
var encodedKey = Uri.EscapeDataString(key);
|
var encodedKey = Uri.EscapeDataString(key);
|
||||||
|
|
||||||
var sb = new StringBuilder($"{intitialValue}{encodedKey}");
|
var sb = new StringBuilder($"{intitialValue}{encodedKey}");
|
||||||
|
|
||||||
var Values = (
|
var Values = (
|
||||||
@@ -294,7 +294,8 @@ namespace System
|
|||||||
select Uri.EscapeDataString(v)
|
select Uri.EscapeDataString(v)
|
||||||
).ToArray();
|
).ToArray();
|
||||||
|
|
||||||
if(Values.Length > 0) {
|
if (Values.Length > 0)
|
||||||
|
{
|
||||||
sb.Append("=");
|
sb.Append("=");
|
||||||
sb.Append(string.Join(",", Values));
|
sb.Append(string.Join(",", Values));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user