Skip to content

Commit

Permalink
fix: warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Rast1234 committed Sep 17, 2024
1 parent 18a1975 commit 90bf657
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set -e
cd "$(dirname "$0")"

rm -rf coverage
dotnet test -p:CollectCoverage=true -p:CoverletOutput="../../../coverage/" -p:MergeWith="../../../coverage/coverage.json" -p:CoverletOutputFormat=\"json,opencover\" -p:ExcludeByAttribute="GeneratedCode" -maxcpucount:1 src
reportgenerator -reports:coverage/coverage.opencover.xml -targetdir:coverage/report

# see result in coverage/report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ public void CombineBindingStyles_BothObjectAndArray_ReturnEither()
{
new JsonRpcControllerAttribute()
},
ControllerName = controllerName,
ControllerName = controllerName!,
MethodInfo = action?.Method ?? ((Action) ValidMethod).Method
},
Properties =
Expand Down

0 comments on commit 90bf657

Please sign in to comment.