diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2016-01-02 23:58:45 -0600 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2016-01-02 23:58:45 -0600 |
commit | 4a392031adea279a598426860a2e3fca9d27f6ec (patch) | |
tree | 9967b7e1fa40f162dee60999e455d7ada4a3cbff | |
parent | 40a5762ad8b41e3f9553bb27acea1b63b014223b (diff) | |
parent | cb222e8fbb795e1ff64c10a492f31463e07bd0bb (diff) | |
download | bundler-4a392031adea279a598426860a2e3fca9d27f6ec.tar.gz |
Merge pull request #4197 from RochesterinNYC/update-filesystem_access-comments
Update `SharedHelpers#filesystem_access` inline comment documentation with `Errno::EAGAIN` rescuing [ci skip]
-rw-r--r-- | lib/bundler/shared_helpers.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 35cbb9f0c5..7ca55a9ee0 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -93,7 +93,7 @@ module Bundler end # Rescues permissions errors raised by file system operations - # (ie. Errno:EACCESS) and raises more friendly errors instead. + # (ie. Errno:EACCESS, Errno::EAGAIN) and raises more friendly errors instead. # # @param path [String] the path that the action will be attempted to # @param action [Symbol, #to_s] the type of operation that will be @@ -103,6 +103,8 @@ module Bundler # # @raise [Bundler::PermissionError] if Errno:EACCES is raised in the # given block + # @raise [Bundler::TemporaryResourceError] if Errno:EAGAIN is raised in the + # given block # # @example # filesystem_access("vendor/cache", :write) do |