Commit 4e4dec0c7627e5d28313456748b1ec1b02ceb224
1 parent
bee77d03bf
Exists in
master
ESLINT
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
index.js
1 | process.chdir(__dirname); | 1 | process.chdir(__dirname); |
2 | 2 | ||
3 | const fs = require('fs'); | 3 | const fs = require('fs'); |
4 | 4 | ||
5 | fs.writeFileSync('pid.txt', process.pid); | 5 | fs.writeFileSync('pid.txt', process.pid); |
6 | 6 | ||
7 | const config = require('komodo-sdk/config'); | 7 | const config = require('komodo-sdk/config'); |
8 | 8 | ||
9 | global.KOMODO_LOG_LABEL = `KOMODO-CENTER@${(config && typeof config.name === 'string') ? config.name.toUpperCase() : 'EVO-CP'}`; | 9 | global.KOMODO_LOG_LABEL = `KOMODO-CENTER@${(config && typeof config.name === 'string') ? config.name.toUpperCase() : 'EVO-CP'}`; |
10 | process.title = global.KOMODO_LOG_LABEL; | 10 | process.title = global.KOMODO_LOG_LABEL; |
11 | 11 | ||
12 | const messagingClient = require('komodo-center-messaging-client-lib'); | 12 | const messagingClient = require('komodo-center-messaging-client-lib'); |
13 | const transport = require('./lib/transport'); | 13 | const transport = require('./lib/transport'); |
14 | 14 | ||
15 | messagingClient.setTransport(transport); | 15 | messagingClient.setTransport(transport); |
16 | 16 | ||
17 | require('./lib/apiserver'); | 17 | require('./lib/apiserver'); |
18 | require('./lib/webadmin'); | ||
18 | require('./lib/webadmin'); |