Navigation Menu

Skip to content

Commit

Permalink
Clean up a little trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell authored and Licenser committed Aug 12, 2010
1 parent 0b01260 commit aecc158
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/lein_search/core.clj
Expand Up @@ -159,17 +159,17 @@ with a numbered list of choices."
(defn search-clojar [what]
(let [p (re-pattern what)]
(doall (filter
(fn [{description :description artifact-id :artifact-id group-id :group-id}]
(or
(re-find p (or description ""))
(re-find p artifact-id)
(re-find p group-id)))
(read-clojars-cache)))))
(fn [{description :description artifact-id :artifact-id group-id :group-id}]
(or
(re-find p (or description ""))
(re-find p artifact-id)
(re-find p group-id)))
(read-clojars-cache)))))

(defn clojars-artifact-name
([group-id article-id]
(if (= group-id article-id)
article-id
(str group-id "/" article-id)))
([{artifact-id :artifact-id group-id :group-id}]
([{artifact-id :artifact-id group-id :group-id}]
(clojars-artifact-name group-id artifact-id)))

0 comments on commit aecc158

Please sign in to comment.