mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
24071ebde7
commit
6dcbb5e308
@ -8,14 +8,12 @@ if (processArgs.startProcess) {
|
||||
const proc = require('./proc');
|
||||
const module = proc[processArgs.startProcess];
|
||||
module.start();
|
||||
} else if (!module['parent'] && !processArgs.checkParent) {
|
||||
const main = require('./main');
|
||||
|
||||
main.start();
|
||||
}
|
||||
|
||||
// else if (!module['parent'] && !processArgs.checkParent) {
|
||||
// const main = require('./main');
|
||||
|
||||
// main.start();
|
||||
// }
|
||||
|
||||
module.exports = {
|
||||
...shell,
|
||||
getMainModule: () => require('./main'),
|
||||
|
Loading…
Reference in New Issue
Block a user