Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(storePath?: string) {
this.STORE_PATH = storePath ? path.resolve(storePath) : defaultStorePath;
this.storeEngine = new FileEngine(this.STORE_PATH);
this.logger = logdown('@wireapp/travis-status-bot/StoreService', {
logger: console,
markdown: false,
});
this.logger.state.isEnabled = true;
}