Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a46d643e
authored
Jun 27, 2015
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function
1 parent
751238c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
cli/actions.js
logo.png
cli/actions.js
View file @
a46d643
...
@@ -48,16 +48,6 @@ function collectFiles(filesOrFolders) {
...
@@ -48,16 +48,6 @@ function collectFiles(filesOrFolders) {
return
tmp
;
return
tmp
;
}
}
function
checkResponse
(
error
,
result
)
{
if
(
error
&&
error
.
status
===
401
)
{
console
.
log
(
'Login failed'
);
process
.
exit
(
1
);
}
else
if
(
error
)
{
console
.
log
(
'Error'
,
result
?
result
.
text
:
error
);
process
.
exit
(
1
);
}
}
function
login
(
server
)
{
function
login
(
server
)
{
if
(
server
[
server
.
length
-
1
]
===
'/'
)
server
=
server
.
slice
(
0
,
-
1
);
if
(
server
[
server
.
length
-
1
]
===
'/'
)
server
=
server
.
slice
(
0
,
-
1
);
...
...
logo.png
View file @
a46d643
7.02 KB
|
W:
|
H:
15.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
Attach a file
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 post a comment