0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

Merge pull request #2117 from logto-io/gao-sun-patch-1

ci: fix eslint report script
This commit is contained in:
Charles Zhao 2022-10-11 16:19:27 +08:00 committed by GitHub
commit b9bb78521d
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 = [];