Skip to content

Commit 082b7fb

Browse files
committed
fix: glob not working on windows
1 parent 91e6093 commit 082b7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prepare-file-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function prepareFilesList(config) {
116116
// Check if the dir exists
117117
if (existsSync(directory)) {
118118
files.push(
119-
...glob.sync(path.join(directory, '**', `*.${fileExtensions[0]}`))
119+
...glob.sync(path.posix.join(directory, '**', `*.${fileExtensions[0]}`))
120120
)
121121
} else {
122122
console.error(

0 commit comments

Comments
 (0)