(filePath, fileContent)
| 78 | } |
| 79 | |
| 80 | async function writeSandboxContent(filePath, fileContent): Promise<string> { |
| 81 | return new Promise((resolve, reject) => { |
| 82 | writeFile(filePath, fileContent, err => { |
| 83 | if (err) { |
| 84 | reject(new Error('Unable to compile sandboxes.')); |
| 85 | } |
| 86 | resolve(filePath); |
| 87 | }); |
| 88 | }); |
| 89 | } |
| 90 | |
| 91 | export function buildSandboxFileContents( |
| 92 | rootPath: string, |
no outgoing calls
no test coverage detected