Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
843109b9
Commit
843109b9
authored
8 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
[fix] ESLint errors
parent
5c593f27
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/cli.js
+5
-5
5 additions, 5 deletions
app/cli.js
with
5 additions
and
5 deletions
app/cli.js
+
5
−
5
View file @
843109b9
...
@@ -441,7 +441,7 @@ program
...
@@ -441,7 +441,7 @@ program
}
}
yield
server
.
disconnect
();
yield
server
.
disconnect
();
return
jsoned
;
return
jsoned
;
}
catch
(
e
)
{
}
catch
(
e
rr
)
{
logger
.
warn
(
err
.
message
||
err
);
logger
.
warn
(
err
.
message
||
err
);
server
.
disconnect
()
server
.
disconnect
()
.
catch
(()
=>
null
)
.
catch
(()
=>
null
)
...
@@ -691,7 +691,7 @@ function connect(callback, useDefaultConf) {
...
@@ -691,7 +691,7 @@ function connect(callback, useDefaultConf) {
return
callback
.
apply
(
this
,
cbArgs
);
return
callback
.
apply
(
this
,
cbArgs
);
}
catch
(
e
)
{
}
catch
(
e
)
{
server
.
disconnect
();
server
.
disconnect
();
throw
Error
(
err
)
;
throw
e
;
}
}
});
});
};
};
...
@@ -883,8 +883,8 @@ function configure(server, conf) {
...
@@ -883,8 +883,8 @@ function configure(server, conf) {
logger
.
debug
(
"
Configuration saved.
"
);
logger
.
debug
(
"
Configuration saved.
"
);
return
conf
;
return
conf
;
}
catch
(
e
)
{
}
catch
(
e
)
{
logger
.
error
(
"
Configuration could not be saved:
"
+
e
rr
);
logger
.
error
(
"
Configuration could not be saved:
"
+
e
);
throw
Error
(
e
rr
);
throw
Error
(
e
);
}
}
});
});
});
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment