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 cc6510cf
authored
Mar 01, 2016
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some style hints
1 parent
7712c94e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
cli/actions.js
cli/actions.js
View file @
cc6510c
...
...
@@ -66,7 +66,7 @@ function login(uri) {
superagent
.
get
(
server
+
API
+
'/'
).
query
({
username
:
username
,
password
:
password
}).
end
(
function
(
error
,
result
)
{
if
(
error
&&
error
.
code
===
'ENOTFOUND'
)
{
console
.
log
(
'
No such server %s
'
.
red
,
server
.
bold
);
console
.
log
(
'
Server %s not found.
'
.
red
,
server
.
bold
);
process
.
exit
(
1
);
}
if
(
error
&&
error
.
code
)
{
...
...
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