From 6c9ec5e20b5048d7e2865efcce94dd1994d33990 Mon Sep 17 00:00:00 2001 From: Pedro Paiva Date: Fri, 1 May 2020 19:50:59 -0300 Subject: [PATCH] Fix warning: Use `result.unpack1("i")` instead of `result.unpack("i").first`. (convention:Style/UnpackFirst) --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 5bed319..9f3c016 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,6 +17,9 @@ Layout/SpaceInsideBlockBraces: Style/IfUnlessModifier: Enabled: false +Style/UnpackFirst: + Enabled: false + # # Lint #