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!"