0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

ci: fix eslint report script

This commit is contained in:
Gao Sun 2022-10-11 15:43:51 +08:00 committed by GitHub
parent 5e34f68395
commit 1aadb4e81c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ const fs = require('fs');
const directories = fs.readdirSync('./packages');
const reports = directories
// Filter out docs temporarily
.filter((dir) => ['docs', 'create'].includes(dir))
.filter((dir) => !['docs', 'create'].includes(dir))
.map((dir) => fs.readFileSync(`./packages/${dir}/report.json`, { encoding: 'utf-8' }));
const merged = [];