Skip to content

Commit 75e113e

Browse files
committed
Update YARDocs to reflect that Database#update! can return nil.
1 parent 8f05ef7 commit 75e113e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/bundler/audit/database.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,11 @@ def git?
190190
# @option options [Boolean] :quiet
191191
# Specify whether `git` should be `--quiet`.
192192
#
193-
# @return [true]
194-
# The ruby-advisory-db git repository was successfully updated.
193+
# @return [true, nil]
194+
# * `true` - the ruby-advisory-db git repository was successfully
195+
# updated.
196+
# * `nil` - the ruby-advisory-db is not a git repository or the `git`
197+
# command is not installed.
195198
#
196199
# @raise [UpdateFailed]
197200
# Could not update the ruby-advisory-db git repository.

0 commit comments

Comments
 (0)