Skip to content

Commit

Permalink
chore: fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Mar 17, 2023
1 parent 8e13afa commit 62a7c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async function run() {
const pkg = packages.find((p) =>
file.startsWith(path.join('packages', p.packageDir, p.srcDir)),
)
if (pkg && !changedPackages.find((d) => d.name === pkg.name)) {
if (pkg && !acc.find((d) => d.name === pkg.name)) {
acc.push(pkg)
}
return acc
Expand Down

0 comments on commit 62a7c38

Please sign in to comment.