Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
koculu committed Dec 24, 2023
1 parent 9adc58e commit 848c987
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ internal async static ValueTask<object> ExecuteAsync(ScriptExecutor scriptExecut
if (type2.IsGenericType && typeof(ValueTask<>) == type2.GetGenericTypeDefinition())
{
dynamic awaitable = result;
if (result.GetType().IsGenericType)
return await awaitable;
await awaitable;
return null;
return await awaitable;
}
return result;
}
Expand Down

0 comments on commit 848c987

Please sign in to comment.