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
2302d943
You need to sign in or sign up before continuing.
Commit
2302d943
authored
8 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
[enh] Allow commands to call sub-commands
parent
846fc80b
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
index.js
+2
-2
2 additions, 2 deletions
index.js
with
2 additions
and
2 deletions
index.js
+
2
−
2
View file @
2302d943
...
...
@@ -222,7 +222,7 @@ function Stack(dependencies) {
}
// First possible class of commands: post-config
if
(
command
.
onConfiguredExecute
)
{
return
yield
command
.
onConfiguredExecute
(
server
,
conf
,
program
,
params
,
wizardTasks
);
return
yield
command
.
onConfiguredExecute
(
server
,
conf
,
program
,
params
,
wizardTasks
,
that
);
}
// Second possible class of commands: post-service
yield
server
.
initDAL
();
...
...
@@ -284,7 +284,7 @@ function Stack(dependencies) {
// for (const module of streams.process) module.unpipe();
// // Stop reading from global PROCESS
// PROCESS.unpipe();
}));
})
,
that
);
}
catch
(
e
)
{
server
.
disconnect
();
throw
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