Skip to content

Commit

Permalink
fix: rename index file
Browse files Browse the repository at this point in the history
  • Loading branch information
AllieJonsson committed Jan 9, 2025
1 parent 13dc260 commit 813007b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/src/writers/split-tags-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ export const writeSplitTagsMode = async ({

const indexFilePath =
output.mock && output.indexFiles
? upath.join(
dirname,
'index.' + getMockFileExtensionByTypeName(output.mock!) + extension,
)
? upath.join(dirname, 'index.mock' + extension)
: undefined;
if (indexFilePath) {
await fs.outputFile(indexFilePath, '');
Expand Down

0 comments on commit 813007b

Please sign in to comment.