(debug = false)
| 95 | } |
| 96 | |
| 97 | export const getConfigFile = (debug = false): Config => { |
| 98 | debug && logger.debug(`getting configDir: ${configDir}`) |
| 99 | const file = cosmiconfigSync('cloud-graph').load( |
| 100 | path.join(configDir, '.cloud-graphrc.json') |
| 101 | ) |
| 102 | return file?.config |
| 103 | } |
| 104 | |
| 105 | export const saveTestCloudGraphConfigFile = async ( |
| 106 | InitCommand: InitCommandClass, |
no outgoing calls
no test coverage detected