* Get Schema Translations * * @returns {Promise }
()
| 243 | * @returns {Promise<Object>} |
| 244 | */ |
| 245 | async getSchemaTranslations() { |
| 246 | if (!fs.existsSync(this.schemaTranslationsPath)) { |
| 247 | return {}; |
| 248 | } |
| 249 | const schemaTranslations = await parseJsonFile(this.schemaTranslationsPath); |
| 250 | return isObject(schemaTranslations) ? schemaTranslations : {}; |
| 251 | } |
| 252 | |
| 253 | /** |
| 254 | * Returns the parsed config.json data. |
no test coverage detected