Permalink
Browse files

Make Expm.Package.deps/2 return Keywords

  • Loading branch information...
1 parent da90fab commit fada970955768da65c52525fb92af98037969c77 @yrashk committed Oct 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/package.ex
View
@@ -140,7 +140,7 @@ defrecord Expm.Package,
defdelegate [valid?(package), validate(package)], to: Expm.Package.Validator
def deps(repo, rec) do
- lc dep inlist dependencies(rec), do: resolve_dep(repo, dep)
+ Keyword.from_enum(lc dep inlist dependencies(rec), do: resolve_dep(repo, dep))
end
defp resolve_dep(repo, name) when is_binary(name) do

0 comments on commit fada970

Please sign in to comment.