mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/rdoc] Specify working directory for RDoc::Options#check_files
f6cca9bd2f
This commit is contained in:
parent
f2e39e5fed
commit
193eea9dcd
1 changed files with 3 additions and 1 deletions
|
@ -120,7 +120,9 @@ class RDoc::RubygemsHook
|
|||
options.exclude ||= [] # TODO maybe move to RDoc::Options#finish
|
||||
options.setup_generator generator
|
||||
options.op_dir = destination
|
||||
options.finish
|
||||
Dir.chdir @spec.full_gem_path do
|
||||
options.finish
|
||||
end
|
||||
|
||||
generator = options.generator.new @rdoc.store, options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue