@@ -129,7 +129,7 @@ public static int Execute<TApp>(params string[] args)
129129 public static int Execute < TApp > ( IConsole console , params string [ ] args )
130130 where TApp : class
131131 {
132- args ??= Util . EmptyArray < string > ( ) ;
132+ args ??= Array . Empty < string > ( ) ;
133133 var context = new DefaultCommandLineContext ( console , Directory . GetCurrentDirectory ( ) , args ) ;
134134 return Execute < TApp > ( context ) ;
135135 }
@@ -168,7 +168,7 @@ public static Task<int> ExecuteAsync<TApp>(string[] args, CancellationToken canc
168168#pragma warning restore RS0026 // Do not add multiple public overloads with optional parameters
169169 where TApp : class
170170 {
171- args ??= Util . EmptyArray < string > ( ) ;
171+ args ??= Array . Empty < string > ( ) ;
172172 var context = new DefaultCommandLineContext ( PhysicalConsole . Singleton , Directory . GetCurrentDirectory ( ) , args ) ;
173173 return ExecuteAsync < TApp > ( context , cancellationToken ) ;
174174 }
@@ -189,7 +189,7 @@ public static Task<int> ExecuteAsync<TApp>(string[] args, CancellationToken canc
189189 public static Task < int > ExecuteAsync < TApp > ( IConsole console , params string [ ] args )
190190 where TApp : class
191191 {
192- args ??= Util . EmptyArray < string > ( ) ;
192+ args ??= Array . Empty < string > ( ) ;
193193 var context = new DefaultCommandLineContext ( console , Directory . GetCurrentDirectory ( ) , args ) ;
194194 return ExecuteAsync < TApp > ( context ) ;
195195 }
0 commit comments