1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 17:19:00 +03:00
Octobot/src/Services/Update
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
..
MemberUpdateService.cs Check interactions in MemberUpdateService before operating on members (#177) 2023-11-04 23:33:37 +05:00
ScheduledEventUpdateService.cs Use TryGetValue instead of ContainsKey + index access to avoid double lookup (#193) 2023-11-22 11:19:45 +03:00
SongUpdateService.cs Add string interpolation for SongUpdateService (#139) 2023-10-02 17:41:43 +03:00