in src/PlatformJson.js [29:36]
static load (plugins_dir, platform) {
const filePath = path.join(plugins_dir, `${platform}.json`);
const root = fs.existsSync(filePath)
? fs.readJsonSync(filePath)
: null;
return new PlatformJson(filePath, platform, root);
}