(directory: string)
| 133 | } |
| 134 | |
| 135 | async function readExistingToolchainsFile(directory: string) { |
| 136 | const location = path.join(directory, constants.MVN_TOOLCHAINS_FILE); |
| 137 | if (fs.existsSync(location)) { |
| 138 | return fs.readFileSync(location, { |
| 139 | encoding: 'utf-8', |
| 140 | flag: 'r' |
| 141 | }); |
| 142 | } |
| 143 | return ''; |
| 144 | } |
| 145 | |
| 146 | async function writeToolchainsFileToDisk( |
| 147 | directory: string, |
no outgoing calls
no test coverage detected