From 3c78a1cbf07261c1e9c70882def760a845334966 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Thu, 18 Jun 2020 07:14:35 -0600 Subject: [PATCH] Refactored Rakefile requirements Turns out the rescue block wasn't providing a lot of additional aid as the Bundler and Rake errors are sufficient. By removing this block, the error output remains clear and improves readability. --- Rakefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 3dd9ae9..be7f5d8 100644 --- a/Rakefile +++ b/Rakefile @@ -1,9 +1,5 @@ # frozen_string_literal: true -begin - require "git/lint/rake/setup" -rescue LoadError => error - puts error.message -end +require "git/lint/rake/setup" task default: :git_lint