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
9b89af82
Commit
9b89af82
authored
Jul 17, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix call correctly functions with new name
parent
967b2929
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
debomatic-webui/lib/utils.coffee
debomatic-webui/lib/utils.coffee
+4
-4
No files found.
debomatic-webui/lib/utils.coffee
View file @
9b89af82
...
@@ -42,7 +42,7 @@ get_file_path = (data) ->
...
@@ -42,7 +42,7 @@ get_file_path = (data) ->
get_files_list
=
(
dir
,
onlyDirectories
,
callback
)
->
get_files_list
=
(
dir
,
onlyDirectories
,
callback
)
->
fs
.
readdir
dir
,
(
err
,
files
)
->
fs
.
readdir
dir
,
(
err
,
files
)
->
if
err
if
err
__errors_handler
"__
get_files_list"
,
err
errors_handler
"
get_files_list"
,
err
return
return
result
=
[]
result
=
[]
for
f
in
files
for
f
in
files
...
@@ -54,7 +54,7 @@ get_files_list = (dir, onlyDirectories, callback) ->
...
@@ -54,7 +54,7 @@ get_files_list = (dir, onlyDirectories, callback) ->
else
else
result
.
push
(
f
)
if
stat
.
isFile
()
result
.
push
(
f
)
if
stat
.
isFile
()
catch
fs_error
catch
fs_error
__errors_handler
(
"__
get_files_list:forEach"
,
fs_error
)
errors_handler
(
"
get_files_list:forEach"
,
fs_error
)
continue
continue
callback
(
result
)
callback
(
result
)
...
@@ -66,7 +66,7 @@ watch_path_onsocket = (event_name, socket, data, watch_path, updater) ->
...
@@ -66,7 +66,7 @@ watch_path_onsocket = (event_name, socket, data, watch_path, updater) ->
watcher
.
close
()
if
watcher
watcher
.
close
()
if
watcher
fs
.
stat
watch_path
,
(
err
,
stats
)
->
fs
.
stat
watch_path
,
(
err
,
stats
)
->
if
err
if
err
__errors_handler
(
"__
watch_path_onsocket:fs.stat"
,
errors_handler
(
"
watch_path_onsocket:fs.stat"
,
err
,
socket
)
err
,
socket
)
return
return
...
@@ -90,7 +90,7 @@ watch_path_onsocket = (event_name, socket, data, watch_path, updater) ->
...
@@ -90,7 +90,7 @@ watch_path_onsocket = (event_name, socket, data, watch_path, updater) ->
socket
.
watchers
=
socket_watchers
socket
.
watchers
=
socket_watchers
catch
err
catch
err
errors_handler
(
"
__
watch_path_onsocket <- "
+
errors_handler
(
"watch_path_onsocket <- "
+
arguments_
.
callee
.
caller
.
name
,
arguments_
.
callee
.
caller
.
name
,
err
,
socket
)
err
,
socket
)
return
return
...
...
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