mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Add cop to make sure we don't use ivar in a module
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
# Module providing methods for dealing with separating a tree-ish string and a
|
||||
# file path string when combined in a request parameter
|
||||
# rubocop:disable Cop/ModuleWithInstanceVariables
|
||||
module ExtractsPath
|
||||
# Raised when given an invalid file path
|
||||
InvalidPathError = Class.new(StandardError)
|
||||
|
Reference in New Issue
Block a user