Skip to content

Commit

Permalink
fix: glob not working on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fpaul-1A committed Sep 5, 2024
1 parent 91e6093 commit 082b7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prepare-file-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function prepareFilesList(config) {
// Check if the dir exists
if (existsSync(directory)) {
files.push(
...glob.sync(path.join(directory, '**', `*.${fileExtensions[0]}`))
...glob.sync(path.posix.join(directory, '**', `*.${fileExtensions[0]}`))
)
} else {
console.error(
Expand Down

0 comments on commit 082b7fb

Please sign in to comment.