Skip to content

Commit 299be00

Browse files
committed
Removed commented lines.
1 parent a972728 commit 299be00

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

updater/lib/dependabot/file_fetcher_command.rb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def dependency_files_for_multi_directories
175175

176176
@dependency_files_for_multi_directories
177177
end
178+
178179
# rubocop:enable Metrics/PerceivedComplexity
179180
sig { returns(T.nilable(T::Array[Dependabot::DependencyFile])) }
180181
def dependency_files
@@ -197,18 +198,6 @@ def post_ecosystem_versions(file_fetcher)
197198
api_client.record_ecosystem_versions(ecosystem_versions) unless ecosystem_versions.nil?
198199
end
199200

200-
# sig { params(max_retries: Integer).returns(T.untyped) }
201-
# def with_retries(max_retries: 2)
202-
# retries ||= 0
203-
# begin
204-
# yield
205-
# rescue Octokit::BadGateway
206-
# retries += 1
207-
# retry if retries <= max_retries
208-
# raise
209-
# end
210-
# end
211-
212201
sig { params(max_retries: Integer, _block: T.proc.returns(T.untyped)).returns(T.untyped) }
213202
def with_retries(max_retries: 2, &_block)
214203
retries ||= 0

0 commit comments

Comments
 (0)