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
1 changed files with 1 additions and 0 deletions

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 (