Skip to content

Commit

Permalink
revert path.sep
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Jul 4, 2024
1 parent 193900d commit 5cd460d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ export default async function analyze(
// Make it a proper relative path
const relativeSrcPath = srcPath.startsWith('.')
? srcPath
: '.' + path.sep + srcPath;
: './' + srcPath;

imports.add(relativeSrcPath);
}
Expand Down

0 comments on commit 5cd460d

Please sign in to comment.