( specRoot: string, content: string, fileName: string )
| 37 | return 'Basic ' + encoded; |
| 38 | } |
| 39 | async function writeServiceDefintion( |
| 40 | specRoot: string, |
| 41 | content: string, |
| 42 | fileName: string |
| 43 | ): Promise<void> { |
| 44 | const path = join(specRoot, fileName); |
| 45 | await writeFile(path, content, { encoding: 'utf-8' }); |
| 46 | console.info(`Service definition written: ${path}.`); |
| 47 | } |
| 48 | |
| 49 | export async function writeFilesToServiceSpecFolder(specRoot: string) { |
| 50 | await cleanUp(specRoot); |
no outgoing calls
no test coverage detected