From dc7891cddbe60ffbb6e115e0affcdb9d95562df9 Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Sun, 11 Jan 2026 23:18:31 +0100 Subject: [PATCH] Fix `Style/RedundantNext` type of Ameba issues --- .ameba.yml | 3 --- src/invidious/yt_backend/connection_pool.cr | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.ameba.yml b/.ameba.yml index 6b177fa5..2da18f65 100644 --- a/.ameba.yml +++ b/.ameba.yml @@ -31,9 +31,6 @@ Lint/SpecFilename: # Style # -Style/RedundantNext: - Enabled: false - Style/ParenthesesAroundCondition: Enabled: false diff --git a/src/invidious/yt_backend/connection_pool.cr b/src/invidious/yt_backend/connection_pool.cr index a967a68d..0cdd715e 100644 --- a/src/invidious/yt_backend/connection_pool.cr +++ b/src/invidious/yt_backend/connection_pool.cr @@ -41,7 +41,7 @@ struct YoutubeConnectionPool ) DB::Pool(HTTP::Client).new(options) do - next make_client(url, force_resolve: true) + make_client(url, force_resolve: true) end end end