Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Oct 15, 2024
1 parent 47810a2 commit aaea1be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion dotnet_sdk/lib/dependabot/dotnet_sdk/file_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down
2 changes: 0 additions & 2 deletions dotnet_sdk/lib/dependabot/dotnet_sdk/file_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit aaea1be

Please sign in to comment.