Skip to content

Commit

Permalink
Merge pull request #1 from xsc/fix-run-without-plain
Browse files Browse the repository at this point in the history
lein-midje-doc will not run without option "plain"
  • Loading branch information
Chris Zheng committed Sep 30, 2013
2 parents 92c79c7 + 7b0f16b commit b33b27f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/leiningen/midje_doc.clj
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
[project & args]
(let [opts (set args)
project (if (or (opts "plain") (check-pygmentize))
(assoc-in project [:documentation :plain] true))]

(assoc-in project [:documentation :plain] true)
project)]
(if (opts "once")
(process-once project)
(do
(process-watch project)
(Thread/sleep 100000000000000)))))
(Thread/sleep 100000000000000)))))

0 comments on commit b33b27f

Please sign in to comment.