exclude macos ds_store, and format code

This commit is contained in:
Tommy Parnell
2023-10-19 18:26:35 -04:00
parent c67a34f993
commit abb2c1d18b
2 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View File

@@ -248,4 +248,5 @@ ModelManifest.xml
coverage.opencover.xml coverage.opencover.xml
coverage.json coverage.json
coverage.info coverage.info
output .DS_Store
output

View File

@@ -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));
} }