mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:35:42 +00:00
* Remove non-local returns and -Wconf suppression Refactor code to avoid non-local returns (using `return` inside closures) which are deprecated in Scala 3. Changes: - OAuthService.scala: Replace early returns with if/else patterns in exchangeCodeForToken, fetchUserInfo, generateAppleClientSecret, exchangeAppleCode, and parseAppleIdToken methods - PerformProvinceEventsAction.scala: Replace for-loop with early return with foldLeft pattern in beastType method Remove the `msg=Non local returns:silent` suppression from the toolchain. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fix non-local returns in MapValidationTest Refactor checkMonthlyWeather to use exists() instead of foreach with early returns. Also fixes typo in error message (was "> 0" should be "> 100"). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>