Skip to content

Commit

Permalink
Use require over require_relative for cross-lib calls
Browse files Browse the repository at this point in the history
Avoid using `require_relative` with relative path to
lib. Use `require` instead.

More details about this cop can be found at:
https://docs.rubocop.org/rubocop-packaging/cops_packaging.html#packagingrequirerelativehardcodinglib

Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
  • Loading branch information
utkarsh2102 committed Sep 12, 2020
1 parent d95f5f7 commit 0519f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/documentation.rb
@@ -1,4 +1,4 @@
require_relative '../lib/shoulda/matchers/version'
require 'shoulda/matchers/version'
require 'erb'

module Shoulda
Expand Down

0 comments on commit 0519f87

Please sign in to comment.