Skip to content

Commit

Permalink
fix: remove recursive param; add filter validation if the src is a di…
Browse files Browse the repository at this point in the history
…rectory or not;
  • Loading branch information
andrechism committed Feb 2, 2024
1 parent a5f32ab commit ff46635
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli/src/utils/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ function copyPublicFiles() {
if (existsSync(`${userDir}/public`)) {
copySync(`${userDir}/public`, `${tmpDir}/public`, {
overwrite: true,
recursive: true,
filter: (src) => {
const allow = allowList.some((ext) => src.endsWith(ext))

Expand Down

0 comments on commit ff46635

Please sign in to comment.