( filename: string, template: string, path = getProjectPath() )
| 71 | }; |
| 72 | |
| 73 | const createChallengeFile = ( |
| 74 | filename: string, |
| 75 | template: string, |
| 76 | path = getProjectPath() |
| 77 | ): void => { |
| 78 | fs.writeFileSync(`${path}${filename}.md`, template); |
| 79 | }; |
| 80 | |
| 81 | const createQuizFile = ({ |
| 82 | challengeId, |
no test coverage detected