Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
9dfd472d
Commit
9dfd472d
authored
Sep 13, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better in-line distributions getter
parent
8de13bd2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
debomatic-webui/lib/utils.coffee
debomatic-webui/lib/utils.coffee
+1
-4
No files found.
debomatic-webui/lib/utils.coffee
View file @
9dfd472d
...
...
@@ -33,10 +33,7 @@ get_distributions = (callback) ->
if
err
errors_handler
"get_distributions"
,
err
return
distributions
=
[]
for
dir
in
directories
name
=
dir
.
split
(
'/'
)[
-
2
..][
0
]
distributions
.
push
name
distributions
=
(
dir
.
split
(
path
.
sep
)[
-
2
...
-
1
]
for
dir
in
directories
)
callback
(
distributions
)
get_distribution_pool_path
=
(
data
)
->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment