Skip to content

Commit

Permalink
Fix warnings in YAMLLinter module (#17863)
Browse files Browse the repository at this point in the history
  • Loading branch information
TemporalOroboros authored Jul 10, 2023
1 parent 8419bf3 commit 4cc771f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Content.YAMLLinter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Linq;
using System.Threading.Tasks;
using Content.IntegrationTests;
using Content.Shared.CCVar;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.Markdown.Validation;
using Robust.Shared.Timing;
Expand All @@ -13,7 +12,7 @@ namespace Content.YAMLLinter
{
internal static class Program
{
private static async Task<int> Main(string[] args)
private static async Task<int> Main(string[] _)
{
var stopwatch = new Stopwatch();
stopwatch.Start();
Expand All @@ -40,7 +39,7 @@ private static async Task<int> Main(string[] args)

private static async Task<Dictionary<string, HashSet<ErrorNode>>> ValidateClient()
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings{DummyTicker = true, Disconnected = true});
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings { DummyTicker = true, Disconnected = true });
var client = pairTracker.Pair.Client;

var cPrototypeManager = client.ResolveDependency<IPrototypeManager>();
Expand All @@ -58,7 +57,7 @@ await client.WaitPost(() =>

private static async Task<Dictionary<string, HashSet<ErrorNode>>> ValidateServer()
{
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings{DummyTicker = true, Disconnected = true});
await using var pairTracker = await PoolManager.GetServerClient(new PoolSettings { DummyTicker = true, Disconnected = true });
var server = pairTracker.Pair.Server;

var sPrototypeManager = server.ResolveDependency<IPrototypeManager>();
Expand Down

0 comments on commit 4cc771f

Please sign in to comment.