MCPcopy
hub / github.com/fontello/fontello / execute

Function execute

lib/system/runner.js:118–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116
117
118 async function execute() {
119 try {
120 // preload & bootstrap
121 await require('./runner/initialize')(N);
122
123 // Load 'init:**' events handlers
124 require('./init')(N);
125
126 // execute cli script
127 await require('./runner/exec_cli')(N);
128
129 if (cluster.isWorker) {
130 process.send('worker.running');
131 }
132 } catch (err) {
133 logFatalError(err);
134 return N.wire.emit('exit.terminate', 1);
135 }
136 }
137
138 execute();
139};

Callers 1

runner.jsFile · 0.70

Calls 1

logFatalErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…