Commit bb3d2b16 authored by nanahira's avatar nanahira

fix

parent 5633a039
Pipeline #6107 failed with stages
in 33 seconds
{ {
"name": "koishi-nestjs", "name": "koishi-nestjs",
"version": "1.0.18", "version": "1.0.19",
"description": "Koishi.js as Nest.js Module", "description": "Koishi.js as Nest.js Module",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
......
...@@ -7,8 +7,6 @@ import { KoishiModuleOptions } from './koishi.interfaces'; ...@@ -7,8 +7,6 @@ import { KoishiModuleOptions } from './koishi.interfaces';
export class KoishiLoggerService extends ConsoleLogger { export class KoishiLoggerService extends ConsoleLogger {
constructor(@Inject(KOISHI_MODULE_OPTIONS) options: KoishiModuleOptions) { constructor(@Inject(KOISHI_MODULE_OPTIONS) options: KoishiModuleOptions) {
super(options.loggerPrefix || 'koishi'); super(options.loggerPrefix || 'koishi');
// eslint-disable-next-line @typescript-eslint/no-this-alias
const _this = this;
Logger.targets = [ Logger.targets = [
{ {
colors: 3, colors: 3,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment