[Bot] Resolve more CA suggestions #55
Annotations
1 error, 2 warnings, and 10 notices
inspect
Issues found.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
inspect:
Bot/Sql/Member.cs#L11
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'DiscordId.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Member.cs(11,199)
|
inspect:
Bot/Clash/Donate25.cs#L118
"[ArrangeRedundantParentheses] Redundant parentheses" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Donate25.cs(118,4282)
|
inspect:
Bot/Discord/Dc.cs#L10
"[ClassNeverInstantiated.Global] Class 'Dc' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(10,199)
|
inspect:
Bot/Discord/Dc.cs#L19
"[MemberCanBePrivate.Global] Field 's_bot' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(19,637)
|
inspect:
Bot/Discord/Dc.cs#L67
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(67,2364)
|
inspect:
Bot/Discord/Dc.cs#L79
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(79,2729)
|
inspect:
Bot/Discord/Dc.cs#L92
"[ParameterTypeCanBeEnumerable.Global] Parameter can be of type 'IEnumerable<string>'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(92,3141)
|
inspect:
Bot/Program.cs#L3
"[ClassNeverInstantiated.Global] Class 'Program' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Program.cs(3,38)
|
inspect:
Bot/Secrets.cs#L5
"[ClassNeverInstantiated.Global] Class 'Secrets' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Secrets.cs(5,71)
|
inspect:
Bot/Secrets.cs#L10
"[NotAccessedField.Global] Field 's_cocId' is assigned but its value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Secrets.cs(10,357)
|
inspect:
Bot/Sql/Alt.cs#L8
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Alt.cs(8,156)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bot
Expired
|
8.38 MB |
|