Skip to content

Commit

Permalink
chore: modify the way to get folders (#1741)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
[skip ci]
  • Loading branch information
140948940 committed Mar 15, 2023
1 parent c5c1915 commit 3ae145f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ async function getChangedPackages() {
)
lastTag = stdout
}
const folders = await globby(join(__dirname, '../packages/*'), {
// globby expects `/` even on windows
const folders = await globby((join(__dirname, '../packages/*').replace(/\\/g,'/')), {
onlyFiles: false,
})

Expand Down

0 comments on commit 3ae145f

Please sign in to comment.