1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 09:09:00 +03:00
Octobot/src
Octol1ttle e65c7a469d
Use TryGetValue instead of ContainsKey + index access to avoid double lookup (#193)
This PR fixes an issue that is currently causing CI to fail in all pull
requests:
`Notice: "[CA1854] Prefer a 'TryGetValue' call over a Dictionary indexer
access guarded by a 'ContainsKey' check to avoid double lookup" on
/home/runner/work/Octobot/Octobot/src/Services/Update/ScheduledEventUpdateService.cs(107,4168)`
The issue is resolved by following the advice mentioned in the notice.
2023-11-22 11:19:45 +03:00
..
Commands Use IFeedbackService interface instead of implementation (#178) 2023-11-04 23:28:22 +05:00
Data Handle guild data load errors better (#172) 2023-10-26 18:14:27 +03:00
Extensions Use IFeedbackService interface instead of implementation (#178) 2023-11-04 23:28:22 +05:00
Responders Add more information to guild loaded log message (#179) 2023-11-06 23:39:26 +05:00
Services Use TryGetValue instead of ContainsKey + index access to avoid double lookup (#193) 2023-11-22 11:19:45 +03:00
ColorsList.cs Rebrand to Octobot (#128) 2023-09-30 18:58:32 +05:00
Messages.Designer.cs Handle guild data load errors better (#172) 2023-10-26 18:14:27 +03:00
Octobot.cs Disable text commands (#175) 2023-10-30 09:37:16 +05:00