diff --git a/osu.ElasticIndexer.sln.DotSettings b/osu.ElasticIndexer.sln.DotSettings
index 32d1de0..daa24d9 100644
--- a/osu.ElasticIndexer.sln.DotSettings
+++ b/osu.ElasticIndexer.sln.DotSettings
@@ -808,6 +808,7 @@ See the LICENCE file in the repository root for full licence text.
True
True
True
+ True
True
True
True
diff --git a/osu.ElasticIndexer/Commands/Index/ListIndicesCommand.cs b/osu.ElasticIndexer/Commands/Index/ListIndicesCommand.cs
index 205e761..ee506c9 100644
--- a/osu.ElasticIndexer/Commands/Index/ListIndicesCommand.cs
+++ b/osu.ElasticIndexer/Commands/Index/ListIndicesCommand.cs
@@ -20,7 +20,7 @@ public class ListIndicesCommand
public virtual int OnExecute(CancellationToken token)
{
- string[] activeSchemas = Redis.GetActiveSchemas();
+ string?[] activeSchemas = Redis.GetActiveSchemas();
string currentSchema = Redis.GetCurrentSchema();
Console.WriteLine("# Redis tracking");
diff --git a/osu.ElasticIndexer/Commands/Index/NukeAllIndicesCommand.cs b/osu.ElasticIndexer/Commands/Index/NukeAllIndicesCommand.cs
index 2316038..b5ff286 100644
--- a/osu.ElasticIndexer/Commands/Index/NukeAllIndicesCommand.cs
+++ b/osu.ElasticIndexer/Commands/Index/NukeAllIndicesCommand.cs
@@ -29,8 +29,12 @@ public override int OnExecute(CancellationToken token)
Redis.ClearCurrentSchema();
System.Console.WriteLine("Removing all active schemas..");
- foreach (string schema in Redis.GetActiveSchemas())
- Redis.RemoveActiveSchema(schema);
+
+ foreach (string? schema in Redis.GetActiveSchemas())
+ {
+ if (schema != null)
+ Redis.RemoveActiveSchema(schema);
+ }
System.Console.WriteLine("Removing all indices..");
diff --git a/osu.ElasticIndexer/osu.ElasticIndexer.csproj b/osu.ElasticIndexer/osu.ElasticIndexer.csproj
index 562592e..d91f03c 100644
--- a/osu.ElasticIndexer/osu.ElasticIndexer.csproj
+++ b/osu.ElasticIndexer/osu.ElasticIndexer.csproj
@@ -5,16 +5,16 @@
net8.0
-
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+