From 74392000d55886af6af0497510286fad5790a321 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Mon, 1 Aug 2022 11:56:00 -0700 Subject: [PATCH] Add TODO note about removing parser warning I originally thought we were only hitting this warning due to Rubocop, and tried removing it, but it turns out we pull in this library for other code. I don't have time to dig deeper right now, so I filed https://github.com/dependabot/dependabot-core/issues/5461 explaining what I learned so far and this PR adds a TODO note in the code so the information doesn't get lost in the issue tracker. --- common/spec/warning_monkey_patch.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spec/warning_monkey_patch.rb b/common/spec/warning_monkey_patch.rb index 10af502fef7..6c5e999dde3 100644 --- a/common/spec/warning_monkey_patch.rb +++ b/common/spec/warning_monkey_patch.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true ALLOW_PATTERNS = [ + # TODO: Pin the parser version to the Ruby version--details: https://github.com/dependabot/dependabot-core/issues/5461 # Ignore parser warnings for ruby 2.7 minor version mismatches. # This is a recurring issue that occurs whenever the parser gets # ahead of our installed ruby version.