Add utf8 with bom (#2641)

* Change default file encoding
This commit is contained in:
JoannaaKL
2023-06-02 21:47:59 +02:00
committed by GitHub
parent 3a1376f90e
commit efffbaeabc
268 changed files with 477 additions and 488 deletions

View File

@@ -22,7 +22,7 @@ namespace GitHub.DistributedTask.Pipelines
[DataContract]
[KnownType(typeof(ContainerRegistryReference))]
[KnownType(typeof(RepositoryPathReference))]
[KnownType(typeof(ScriptReference))]
[KnownType(typeof(ScriptReference))]
[JsonConverter(typeof(ActionStepDefinitionReferenceConverter))]
[EditorBrowsable(EditorBrowsableState.Never)]
public abstract class ActionStepDefinitionReference

View File

@@ -13,8 +13,8 @@ namespace GitHub.DistributedTask.Pipelines.ContextData
}
public static PipelineContextData ToPipelineContextData(
this JToken value,
Int32 depth,
this JToken value,
Int32 depth,
Int32 maxDepth)
{
if (depth < maxDepth)

View File

@@ -11,7 +11,7 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
public const String BooleanStrategyContext = "boolean-strategy-context";
public const String CancelTimeoutMinutes = "cancel-timeout-minutes";
public const String Cancelled = "cancelled";
public const String Clean= "clean";
public const String Clean = "clean";
public const String Container = "container";
public const String ContinueOnError = "continue-on-error";
public const String Credentials = "credentials";

View File

@@ -569,4 +569,4 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
private readonly Parser m_parser;
private ParsingEvent m_current;
}
}
}

View File

@@ -42,7 +42,7 @@ namespace GitHub.DistributedTask.Pipelines
{
return s;
}
s = name.Expression;
if (!String.IsNullOrEmpty(s))
{

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Runtime.Serialization;
using GitHub.Services.WebApi;
using Newtonsoft.Json;
@@ -36,4 +36,4 @@ namespace GitHub.DistributedTask.Pipelines
};
}
}
}
}