From 3056363ea6471c9d74fc2fc5a114b372ee86bd13 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Fri, 11 Oct 2024 08:44:40 -0700 Subject: [PATCH] Remove unnecessary comments --- dotnet_sdk/lib/dependabot/dotnet_sdk/file_parser.rb | 1 - dotnet_sdk/lib/dependabot/dotnet_sdk/file_updater.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/dotnet_sdk/lib/dependabot/dotnet_sdk/file_parser.rb b/dotnet_sdk/lib/dependabot/dotnet_sdk/file_parser.rb index b0c224445d..9a7519204a 100644 --- a/dotnet_sdk/lib/dependabot/dotnet_sdk/file_parser.rb +++ b/dotnet_sdk/lib/dependabot/dotnet_sdk/file_parser.rb @@ -68,7 +68,6 @@ def config_dependency_files sig { override.void } def check_required_files - # Just check if there are any files at all. return if dependency_files.any? raise "No dependency files!" diff --git a/dotnet_sdk/lib/dependabot/dotnet_sdk/file_updater.rb b/dotnet_sdk/lib/dependabot/dotnet_sdk/file_updater.rb index 9b840120d4..f4f2d6dd9b 100644 --- a/dotnet_sdk/lib/dependabot/dotnet_sdk/file_updater.rb +++ b/dotnet_sdk/lib/dependabot/dotnet_sdk/file_updater.rb @@ -30,13 +30,11 @@ def updated_dependency_files sig { returns(Dependabot::Dependency) } def dependency - # Dockerfiles will only ever be updating a single dependency T.must(dependencies.first) end sig { override.void } def check_required_files - # Just check if there are any files at all. return if dependency_files.any? raise "No global.json configuration!"