Skip to content

Commit

Permalink
Debug ToString and exclude DefaultSuiteFile from `CamlCaseConvent…
Browse files Browse the repository at this point in the history
…ion`
  • Loading branch information
jeongsoolee09 committed Oct 12, 2023
1 parent 1082974 commit 382cfca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ override public string ToString()
foreach (KeyValuePair<string, string> pair in Dependencies)
DependenciesString += $"{pair.Key}: {pair.Value}\n";

return $@"Test qlpack.yml file:
return $@"Lib qlpack.yml file:
Library: {Library},
Name: {Name},
Version: {Version},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;

namespace CodeQLToolkit.Features.Pack.Commands.Validate.Schemas
{
public class SrcQlpackYmlSchema : IYmlSchema
Expand All @@ -8,6 +11,8 @@ public class SrcQlpackYmlSchema : IYmlSchema
public string Suites { get; set; }
public string Extractor { get; set; }
public Dictionary<string, string> Dependencies { get; set; }

[YamlMember(Alias = "default-suite-file", ApplyNamingConventions = false)]
public string DefaultSuiteFile { get; set; }

public override string ToString()
Expand All @@ -17,7 +22,7 @@ public override string ToString()
foreach (KeyValuePair<string, string> pair in Dependencies)
DependenciesString += $"{pair.Key}: {pair.Value}\n";

return $@"Test qlpack.yml file:
return $@"Src qlpack.yml file:
Library: {Library},
Name: {Name},
Version: {Version},
Expand Down

0 comments on commit 382cfca

Please sign in to comment.