Skip to content

Commit

Permalink
chore:modify the way to get folders
Browse files Browse the repository at this point in the history
globby is have a bug in windows,can see this issues :sindresorhus/globby#179.
It's not a serious bug,But it makes learning to code tricky.
  • Loading branch information
140948940 committed Mar 15, 2023
1 parent c5c1915 commit 21e862a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ async function getChangedPackages() {
)
lastTag = stdout
}
const folders = await globby(join(__dirname, '../packages/*'), {
const folders = await globby((join(__dirname, '../packages/*').replace(/\\/g,'/')), {
onlyFiles: false,
})

Expand Down

0 comments on commit 21e862a

Please sign in to comment.