Permalink
Browse files

Restore filtering of arguments in stevedore/map-to-arg-string

  • Loading branch information...
1 parent f7d7746 commit 8b5afa0a824a4aefa584bac47c3fa6ad05f69bf4 @hugoduncan hugoduncan committed Apr 21, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/pallet/stevedore.clj
View
@@ -680,9 +680,9 @@
(apply
str (interpose
" "
- (map #(arg-string
- (first %) (second %) underscore assign dash)
- m))))
+ (map
+ #(arg-string (key %) (val %) underscore assign dash)
+ (filter val m)))))
(defn option-args
"Output a set of command line switches from a sequence of options"

0 comments on commit 8b5afa0

Please sign in to comment.