(private readonly githubService: GithubService)
| 10 | @Service() |
| 11 | export class TeamRepository { |
| 12 | constructor(private readonly githubService: GithubService) { |
| 13 | const projects = getCollection<Model<ProjectReferenceEntity, "repositories">>( |
| 14 | join(__dirname, "../../../data"), |
| 15 | "projects-v2", |
| 16 | "list.json", |
| 17 | ); |
| 18 | this.projects = projects !== 404 ? projects : []; |
| 19 | } |
| 20 | |
| 21 | private projects: Model<ProjectReferenceEntity, "repositories">[]; |
| 22 |
nothing calls this directly
no test coverage detected