Skip to content

Commit

Permalink
fix: make fix not break windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev authored Jul 21, 2024
1 parent 8ccce45 commit 692e846
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 @@ -122,7 +122,7 @@ const normalizeOptions = async (
// using a directory as entry should match all files inside it
const expandedEntries = entry.map((pattern) => {
if (!pattern.endsWith('**')) {
return path.join(pattern, '**')
return `${pattern}/**`
}
return pattern
})
Expand Down

0 comments on commit 692e846

Please sign in to comment.