Skip to content

Commit

Permalink
refactor: unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizyHub authored and flydog98 committed Dec 6, 2023
1 parent 475ab66 commit 8e60e07
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/backend/src/quizzes/quizzes.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Repository } from 'typeorm';
import { QuizDto } from './dto/quiz.dto';
import { CategoryQuizzesDto, QuizzesDto } from './dto/quizzes.dto';
import { Category } from './entity/category.entity';
import { ContainersService } from '../containers/containers.service';
import { CommandResponseDto } from './dto/command-response.dto';
import fs from 'fs';
import * as Papa from 'papaparse';
import { Keyword } from './entity/keyword.entity';
Expand All @@ -22,7 +20,6 @@ export class QuizzesService {
private categoryRepository: Repository<Category>,
@InjectRepository(Keyword)
private keywordRepository: Repository<Keyword>,
private containerService: ContainersService,
private configService: ConfigService,
@Inject('winston') private readonly logger: Logger,
) {
Expand Down Expand Up @@ -142,16 +139,4 @@ export class QuizzesService {

return quizzesDtos;
}

async runGitCommand(command: string): Promise<CommandResponseDto> {
// ์„ธ์…˜ ๊ฒ€์ƒ‰

// ์„ธ์…˜ ์—†์œผ๋ฉด or ์„ธ์…˜์— ํ• ๋‹น๋œ ์ปจํ…Œ์ด๋„ˆ ์—†์œผ๋ฉด ์ปจํ…Œ์ด๋„ˆ ์ƒ์„ฑ
// await this.containerService.getContainer(quizId);

// ์ปจํ…Œ์ด๋„ˆ ์ƒ์„ฑ, ์„ธ์…˜์— ํ• ๋‹นํ•˜๊ณ  DB ์ €์žฅ

// ์ตœ์ข… ์‹คํ–‰
return this.containerService.runGitCommand('testContainer', command);
}
}

0 comments on commit 8e60e07

Please sign in to comment.