Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
ken1987 committed Oct 7, 2023
1 parent 7b4028f commit 956d159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function getMappedPath(

return false
})
.filter((item) => item?.includes(packageJsonPath))
.filter((item) => packageJsonPath && item?.includes(packageJsonPath))
}

if (retry && paths.length === 0) {
Expand Down

0 comments on commit 956d159

Please sign in to comment.