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.
This commit is contained in:
Brooke Kuhlmann
2020-06-18 07:14:35 -06:00
parent 3158d024df
commit 3c78a1cbf0

View File

@@ -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