( environment: Environment, options: Options, )
| 29 | } |
| 30 | |
| 31 | export async function writeConfigFileToEnvironment( |
| 32 | environment: Environment, |
| 33 | options: Options, |
| 34 | ) { |
| 35 | await environment.writeFile( |
| 36 | resolve(options.targetDir, CONFIG_FILE), |
| 37 | JSON.stringify(createPersistedOptions(options), null, 2), |
| 38 | ) |
| 39 | } |
| 40 | |
| 41 | export async function readConfigFileFromEnvironment( |
| 42 | environment: Environment, |
no test coverage detected