Commit 960157f1 authored by Leo Iannacone's avatar Leo Iannacone

fix distributions as array of array

parent 994d5513
...@@ -33,7 +33,7 @@ get_distributions = (callback) -> ...@@ -33,7 +33,7 @@ get_distributions = (callback) ->
if err if err
errors_handler "get_distributions", err errors_handler "get_distributions", err
return return
distributions = (dir.split(path.sep)[-2...-1] for dir in directories) distributions = (dir.split(path.sep)[-2...-1].pop() for dir in directories)
callback(distributions) callback(distributions)
get_distribution_pool_path = (data) -> get_distribution_pool_path = (data) ->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment