Skip to content

Commit

Permalink
No eerrors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bod9001 committed Sep 20, 2023
1 parent fa0ed65 commit 5c4af51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ private SandboxConfig LoadConfig()
new JsonStringEnumConverter(allowIntegerValues: false)
}
});

if (data == null)
{
Log.Error("unable to de-serialise config");
Expand Down
12 changes: 7 additions & 5 deletions UnitystationLauncher/ContentScanning/ScanConfigMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ namespace UnitystationLauncher.ContentScanning;

public sealed class SandboxConfig
{
public string SystemAssemblyName { get; set; }
public List<VerifierError> AllowedVerifierErrors { get; set; }
public List<string> WhitelistedNamespaces { get; set; }
public List<string> MultiAssemblyOtherReferences { get; set; }
public Dictionary<string, Dictionary<string, TypeConfig>> Types { get; set; }
public string? SystemAssemblyName { get; set; }
public List<VerifierError> AllowedVerifierErrors { get; set; } = new List<VerifierError>();
public List<string> WhitelistedNamespaces { get; set; } = new List<string>();
public List<string> MultiAssemblyOtherReferences { get; set; } = new List<string>();

public Dictionary<string, Dictionary<string, TypeConfig>> Types { get; set; } =
new Dictionary<string, Dictionary<string, TypeConfig>>();
}


Expand Down

0 comments on commit 5c4af51

Please sign in to comment.