Commit 4e8e8c6fe4e3581ae9fccd6d3f3f2645a64f22ee
1 parent
9dd24242e5
Exists in
master
ESLINT: Newline after require
Showing 1 changed file with 1 additions and 0 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 | fs.writeFileSync('pid.txt', process.pid.toString()); | 5 | fs.writeFileSync('pid.txt', process.pid.toString()); |
5 | 6 | ||
6 | const config = require('komodo-sdk/config'); | 7 | const config = require('komodo-sdk/config'); |
7 | 8 | ||
8 | global.KOMODO_LOG_LABEL = `KOMODO-CENTER@${config.origin || 'TELEGRAM'}`; | 9 | global.KOMODO_LOG_LABEL = `KOMODO-CENTER@${config.origin || 'TELEGRAM'}`; |
9 | process.title = `KOMODO-CENTER@${config.origin || 'TELEGRAM'}`; | 10 | process.title = `KOMODO-CENTER@${config.origin || 'TELEGRAM'}`; |
10 | 11 | ||
11 | require('./lib/transport'); | 12 | require('./lib/transport'); |
12 | 13 |