We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 472a55d commit 8e91f82Copy full SHA for 8e91f82
bin/pdoc
@@ -50,9 +50,9 @@ if command = options[:'copy-templates']
50
end
51
52
files = (d = options[:directory]) ?
53
- Dir["#{d}/**/*.js"] :
+ Dir["#{d}/**/*.js"].map(&File.method(:expand_path)) :
54
options[:unclaimed].dup
55
56
-files << {:output => options[:output], :templates => options[:templates]}
+files << {:destination => options[:output], :templates => options[:templates]}
57
PDoc::Runner.new(*files).run
58
0 commit comments