Skip to content

Commit

Permalink
VCI-128: Fix codesmells (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro authored Aug 18, 2021
1 parent 37b9b02 commit 75af6eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ private void SonarLogger(OutputType type, string text)
}
});

public void CustomDotnetLogger(OutputType type, string text)
public static void CustomDotnetLogger(OutputType type, string text)
{
Logger.Info(text);

Expand Down Expand Up @@ -950,7 +950,7 @@ private async Task<string> SendSwaggerSchemaToValidator(HttpClient httpClient, s
}
});

private void GitLogger(OutputType type, string text)
private static void GitLogger(OutputType type, string text)
{
if (text.Contains("github returned 422 Unprocessable Entity") && text.Contains("already_exists"))
{
Expand Down
4 changes: 2 additions & 2 deletions Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
[TypeConverter(typeof(TypeConverter<Configuration>))]
public class Configuration : Enumeration
{
public static Configuration Debug = new Configuration { Value = nameof(Debug) };
public static Configuration Release = new Configuration { Value = nameof(Release) };
public readonly static Configuration Debug = new Configuration { Value = nameof(Debug) };
public readonly static Configuration Release = new Configuration { Value = nameof(Release) };

public static implicit operator string(Configuration configuration)
{
Expand Down

0 comments on commit 75af6eb

Please sign in to comment.