1- using ServerCodeExcisionCommon ;
1+ using ServerCodeExcisionCommon ;
22using Spectre . Console ;
33using Spectre . Console . Cli ;
44using System ;
99using System . Text . Json . Serialization ;
1010using UnrealAngelscriptServerCodeExcision ;
1111
12- namespace ServerCodeExcision
12+ namespace ServerCodeExciser
1313{
1414 internal sealed class ServerCodeExciserCommand : Command < ServerCodeExciserCommand . Settings >
1515 {
@@ -75,7 +75,7 @@ public override ValidationResult Validate()
7575 class RootPaths
7676 {
7777 [ JsonPropertyName ( "AngelscriptScriptRoots" ) ]
78- public string [ ] AngelscriptScriptRoots { get ; set ; } = Array . Empty < string > ( ) ;
78+ public string [ ] AngelscriptScriptRoots { get ; set ; } = Array . Empty < string > ( ) ;
7979 }
8080
8181 public override int Execute ( [ NotNull ] CommandContext context , [ NotNull ] Settings settings )
@@ -99,7 +99,7 @@ public override int Execute([NotNull] CommandContext context, [NotNull] Settings
9999 var desc = File . ReadAllText ( settings . InputPath ) ;
100100 var paths = JsonSerializer . Deserialize < RootPaths > ( desc ) ;
101101 if ( paths != null )
102- {
102+ {
103103 parameters . InputPaths . UnionWith ( paths . AngelscriptScriptRoots ) ;
104104 }
105105 else
@@ -108,7 +108,7 @@ public override int Execute([NotNull] CommandContext context, [NotNull] Settings
108108 return ( int ) EExciserReturnValues . InternalExcisionError ;
109109 }
110110 }
111- else if ( Directory . Exists ( settings . InputPath ) )
111+ else if ( Directory . Exists ( settings . InputPath ) )
112112 {
113113 parameters . InputPaths . Add ( settings . InputPath ) ;
114114 }
@@ -143,7 +143,7 @@ public override int Execute([NotNull] CommandContext context, [NotNull] Settings
143143 }
144144
145145
146- public class ServerCodeExciser
146+ public class ServerCodeExciserProgram
147147 {
148148 public static int Main ( string [ ] args )
149149 {
0 commit comments