Fixed bug when no source files are specified.

This commit is contained in:
Nicolas Buduroi 2011-01-15 20:12:36 -05:00
parent 11c7c5fdad
commit db934b93fb

View file

@ -259,7 +259,7 @@
[[dir d "Directory into which the documentation will be written" "./docs"]
[file f "File into which the documentation will be written" "uberdoc.html"]
sources]
(let [sources (format-sources sources)]
(let [sources (format-sources (seq sources))]
(if-not sources
(do
(println "Wrong number of arguments passed to marginalia.")