Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async start(): Promise {
if (!this.config.disableSourceMaps) {
try {
this.sourceMapper = await SourceMapper.create(
this.config.sourceMapSearchPath
);
} catch (err) {
this.logger.error(
`Failed to initialize SourceMapper. Source map support has been disabled: ${err}`
);
this.config.disableSourceMaps = true;
}
}
this.runLoop();
}