aboutsummaryrefslogtreecommitdiff
path: root/dev/build-libs.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/build-libs.js')
-rw-r--r--dev/build-libs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/build-libs.js b/dev/build-libs.js
index 15ab3c8d..f1570fad 100644
--- a/dev/build-libs.js
+++ b/dev/build-libs.js
@@ -64,6 +64,7 @@ export async function buildLibs() {
const schemaFileNames = fs.readdirSync(schemaDir);
const schemas = schemaFileNames.map((schemaFileName) => {
/** @type {import('ajv').AnySchema} */
+ // eslint-disable-next-line sonarjs/prefer-immediate-return
const result = parseJson(fs.readFileSync(path.join(schemaDir, schemaFileName), {encoding: 'utf8'}));
return result;
});