From 8f05ef768dcda995b37c4a457606e86b478e7dbe Mon Sep 17 00:00:00 2001 From: Postmodern Date: Wed, 13 Sep 2023 09:59:45 -0700 Subject: [PATCH] Corrected the YARD `@return` tags for `Database.update` and `#update!`. --- lib/bundler/audit/database.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/bundler/audit/database.rb b/lib/bundler/audit/database.rb index 969b6f3a..2fb193fa 100644 --- a/lib/bundler/audit/database.rb +++ b/lib/bundler/audit/database.rb @@ -141,9 +141,8 @@ def self.download(options={}) # @option options [Boolean] :quiet # Specify whether `git` should be `--quiet`. # - # @return [Boolean, nil] + # @return [Boolean] # Specifies whether the update was successful. - # A `nil` indicates no update was performed. # # @raise [ArgumentError] # Invalid options were given. @@ -191,10 +190,11 @@ def git? # @option options [Boolean] :quiet # Specify whether `git` should be `--quiet`. # - # @return [true, nil] - # `true` indicates that the update was successful. - # `nil` indicates the database is not a git repository, thus not - # capable of being updated. + # @return [true] + # The ruby-advisory-db git repository was successfully updated. + # + # @raise [UpdateFailed] + # Could not update the ruby-advisory-db git repository. # # @since 0.8.0 #