Skip to content

Commit

Permalink
Merge pull request #8 from Raynes/master
Browse files Browse the repository at this point in the history
Remove vector assertion, instead asserting sequential
  • Loading branch information
tobias committed Dec 19, 2012
2 parents 89481f3 + a2d6319 commit 0527d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leinjacker/deps.clj
Expand Up @@ -33,7 +33,7 @@
a symbol."
[project dep]
[(dep? dep)
(vector? (:dependencies project []))]
(sequential? (:dependencies project []))]
(when-let [deps (:dependencies project)]
(let [name (if (dep-spec? dep)
(dep-name dep)
Expand All @@ -44,7 +44,7 @@
"Adds the dependency to the project, but only if it doesn't exist already."
[project dep-spec]
[(dep-spec? dep-spec)
(vector? (:dependencies project []))
(sequential? (:dependencies project []))
=>
(has-dep? % dep-spec)]
(if (has-dep? project dep-spec)
Expand Down

0 comments on commit 0527d55

Please sign in to comment.