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
e50b7313
Commit
e50b7313
authored
Feb 26, 2015
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return false even if argurment is undefined
parent
960157f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
debomatic-webui/lib/utils.coffee
debomatic-webui/lib/utils.coffee
+2
-0
No files found.
debomatic-webui/lib/utils.coffee
View file @
e50b7313
...
@@ -5,6 +5,8 @@ glob = require("glob")
...
@@ -5,6 +5,8 @@ glob = require("glob")
Tail
=
require
(
"tail"
).
Tail
Tail
=
require
(
"tail"
).
Tail
_check_no_backward
=
(
backward_path
)
->
_check_no_backward
=
(
backward_path
)
->
if
backward_path
is
undefined
return
false
if
typeof
backward_path
is
'string'
if
typeof
backward_path
is
'string'
return
backward_path
.
indexOf
(
".."
)
<
0
return
backward_path
.
indexOf
(
".."
)
<
0
return
true
return
true
...
...
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