Skip to content

Commit 0352c44

Browse files
committed
Disable rubocop for #1537
1 parent 6a24f65 commit 0352c44

File tree

1 file changed

+1
-1
lines changed
  • lib/grape/middleware/versioner

1 file changed

+1
-1
lines changed

lib/grape/middleware/versioner/path.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def default_options
2626
def before
2727
path = env[Grape::Http::Headers::PATH_INFO].dup
2828

29-
if prefix && path.index(prefix) == 0
29+
if prefix && path.index(prefix) == 0 # rubocop:disable all
3030
path.sub!(prefix, '')
3131
path = Grape::Router.normalize_path(path)
3232
end

0 commit comments

Comments
 (0)