Skip to content

Commit

Permalink
fix: winPath function location error
Browse files Browse the repository at this point in the history
Co-authored-by: chencheng (云谦) <[email protected]>
  • Loading branch information
liuwenzhuang and sorrycc authored Jun 4, 2024
1 parent ab70ee1 commit d934849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mfsu/src/mfsu/strategyStaticAnalyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function extractJSCodeFiles(folderBase: string, files: ReadonlySet<string>) {

for (let file of files.values()) {
if (
winPath(file.startsWith(winPath(folderBase))) &&
winPath(file).startsWith(winPath(folderBase)) &&
REG_CODE_EXT.test(file) &&
file.indexOf('node_modules') === -1
) {
Expand Down

0 comments on commit d934849

Please sign in to comment.