()
| 38 | } |
| 39 | |
| 40 | async function getWorkingAssetCid() { |
| 41 | const workingConfig = JSON.parse(fs.readFileSync(`${workingDir}/working.json`, "utf-8")); |
| 42 | return workingConfig.assetCid; |
| 43 | } |
| 44 | |
| 45 | async function loadConfig() { |
| 46 | const config = JSON.parse(fs.readFileSync(`${configFilepath}`, "utf-8")); |