Permalink
Browse files

pdoc executable was not passing the destination directory correctly.

  • Loading branch information...
1 parent 472a55d commit 8e91f8247a5e891960fce1ecb140f00c64cedd2c @jcoglan jcoglan committed Jan 7, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/pdoc
View
@@ -50,9 +50,9 @@ if command = options[:'copy-templates']
end
files = (d = options[:directory]) ?
- Dir["#{d}/**/*.js"] :
+ Dir["#{d}/**/*.js"].map(&File.method(:expand_path)) :
options[:unclaimed].dup
-files << {:output => options[:output], :templates => options[:templates]}
+files << {:destination => options[:output], :templates => options[:templates]}
PDoc::Runner.new(*files).run

0 comments on commit 8e91f82

Please sign in to comment.