Skip to content

Commit

Permalink
Corrected the YARD @return tags for Database.update and #update!.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Sep 13, 2023
1 parent d6d0ae8 commit 8f05ef7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/bundler/audit/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
#
Expand Down

0 comments on commit 8f05ef7

Please sign in to comment.