Skip to content

Commit cd85bce

Browse files
committed
fix: lint 오류 해결
1 parent ede7eb7 commit cd85bce

File tree

5 files changed

+4
-34
lines changed

5 files changed

+4
-34
lines changed

apps/backend/src/page/page.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Injectable, Logger } from '@nestjs/common';
1+
import { Injectable } from '@nestjs/common';
22
import { DataSource, Repository } from 'typeorm';
33
import { Page } from './page.entity';
44
import { InjectDataSource } from '@nestjs/typeorm';

apps/backend/src/page/page.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { WorkspaceRepository } from '../workspace/workspace.repository';
1212
import { WorkspaceNotFoundException } from '../exception/workspace.exception';
1313
const RED_LOCK_TOKEN = 'RED_LOCK';
1414
type RedisLock = {
15-
acquire(): Promise<{ release: Function }>;
15+
acquire(): Promise<{ release: () => void }>;
1616
};
1717

1818
describe('PageService', () => {

apps/backend/src/red-lock/red-lock.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const RED_LOCK_TOKEN = 'RED_LOCK';
66
const REDIS_CLIENT_TOKEN = 'REDIS_CLIENT';
77

88
@Module({
9-
imports: [forwardRef(()=>RedisModule)],
9+
imports: [forwardRef(() => RedisModule)],
1010
providers: [
1111
{
1212
provide: RED_LOCK_TOKEN,

apps/backend/src/redis/redis.service.spec.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

apps/backend/src/yjs/yjs.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class YjsService
153153
// title의 변경 사항을 감지한다.
154154
title.observeDeep(async (event) => {
155155
// path가 존재할 때만 페이지 갱신
156-
156+
157157
event[0].path.toString().split('_')[1] &&
158158
// this.pageService.updatePage(
159159
// parseInt(event[0].path.toString().split('_')[1]),

0 commit comments

Comments
 (0)