File tree Expand file tree Collapse file tree
npm_and_yarn/lib/dependabot/npm_and_yarn Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,9 +216,7 @@ def find_engine_constraints_as_requirement(name)
216216 end
217217
218218 # rubocop:disable Metrics/CyclomaticComplexity
219- # rubocop:disable Metrics/AbcSize
220219 # rubocop:disable Metrics/PerceivedComplexity
221- # rubocop:disable Metrics/MethodLength
222220 sig { params ( name : String ) . returns ( T . nilable ( T . any ( Integer , String ) ) ) }
223221 def setup ( name )
224222 # we prioritize version mentioned in "packageManager" instead of "engines"
@@ -261,9 +259,7 @@ def setup(name)
261259 version
262260 end
263261 # rubocop:enable Metrics/CyclomaticComplexity
264- # rubocop:enable Metrics/AbcSize
265262 # rubocop:enable Metrics/PerceivedComplexity
266- # rubocop:enable Metrics/MethodLength
267263
268264 sig { params ( name : String ) . returns ( T . nilable ( String ) ) }
269265 def detect_version ( name )
You can’t perform that action at this time.
0 commit comments