Skip to content

Commit

Permalink
Automated dotnet-format update from commit 1309399 on refs/heads/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed Oct 12, 2022
1 parent 1309399 commit 7b54331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WeihanLi.Common/Helpers/CommandExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class CommandExecutor
public static int ExecuteCommand(string command, string? workingDirectory = null)
{
Guard.NotNullOrEmpty(command);
var cmd = command.Split(new[]{' '}, 2);
var cmd = command.Split(new[] { ' ' }, 2);
return Execute(cmd[0], cmd.Length > 1 ? cmd[1] : null, workingDirectory);
}

Expand All @@ -30,7 +30,7 @@ public static int ExecuteCommand(string command, string? workingDirectory = null
public static Task<int> ExecuteCommandAsync(string command, string? workingDirectory = null)
{
Guard.NotNullOrEmpty(command);
var cmd = command.Split(new[]{' '}, 2);
var cmd = command.Split(new[] { ' ' }, 2);
return ExecuteAsync(cmd[0], cmd.Length > 1 ? cmd[1] : null, workingDirectory);
}

Expand Down

0 comments on commit 7b54331

Please sign in to comment.