Skip to content

Commit

Permalink
normalize name first
Browse files Browse the repository at this point in the history
  • Loading branch information
codykaup committed Jan 22, 2025
1 parent a482081 commit 152d390
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node-src/lib/getDependentStoryFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export async function getDependentStoryFiles(
// eslint-disable-next-line complexity
function traceName(name: string, tracePath: string[] = []) {
if (ctx.turboSnap?.bailReason || isCsfGlob(name)) return;
name = normalize(name);
if (shouldBail(name)) return;
const { id } = modulesByName.get(name) || {};
// eslint-disable-next-line unicorn/no-null
Expand Down

0 comments on commit 152d390

Please sign in to comment.