Skip to content

Commit 8e91f82

Browse files
committed
pdoc executable was not passing the destination directory correctly.
1 parent 472a55d commit 8e91f82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/pdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ if command = options[:'copy-templates']
5050
end
5151

5252
files = (d = options[:directory]) ?
53-
Dir["#{d}/**/*.js"] :
53+
Dir["#{d}/**/*.js"].map(&File.method(:expand_path)) :
5454
options[:unclaimed].dup
5555

56-
files << {:output => options[:output], :templates => options[:templates]}
56+
files << {:destination => options[:output], :templates => options[:templates]}
5757
PDoc::Runner.new(*files).run
5858

0 commit comments

Comments
 (0)