mirror of
https://github.com/actions/runner.git
synced 2026-01-23 04:51:23 +08:00
simplify
This commit is contained in:
@@ -1138,8 +1138,8 @@ namespace GitHub.Runner.Worker.Dap
|
||||
|
||||
if (result.Success)
|
||||
{
|
||||
// Return appropriate response format based on input type
|
||||
if (command.WasJsonInput)
|
||||
// Return appropriate response format based on output type
|
||||
if (command.Output == OutputFormat.Json)
|
||||
{
|
||||
return CreateSuccessResponse(new EvaluateResponseBody
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user