ci: fix story impl files were ignored

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-16 11:00:07 +00:00 committed by GitHub
parent fa60f54bc5
commit d2d17847dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,7 @@ fs.readFile(
path.resolve(__dirname, '../../..', arg)
)
)
.map((path) => path.replace(/(?:(?<=\.stories)\.(?:impl|meta)|\.msw)(?=\.ts$)/g, ''))
.map((path) => (path.startsWith('.') ? path : `./${path}`))
);
if (