blob: c1d4c292b9f32dcfd70541ad4d114ad039f90259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { dirname } from 'path';
import 'source-map-support/register.js';
import { fileURLToPath } from 'url';
import config from './config/options.js';
import { Sentry } from './lib/common/Sentry.js';
import { BushClient } from './lib/index.js';
const __dirname = dirname(fileURLToPath(import.meta.url));
global.__rootdir__ = __dirname || process.cwd();
new Sentry();
BushClient.init();
void new BushClient(config).start();
|