Skip to content

Commit b82a373

Browse files
committed
Fix error when building repeatedly
1 parent fe22ec6 commit b82a373

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

script/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ function copyDependencies() {
354354
)
355355

356356
const copilotDestination = path.resolve(outRoot, 'copilot')
357+
rmSync(copilotDestination, { recursive: true, force: true })
357358
cpSync(copilotPkgDir, copilotDestination, {
358359
recursive: true,
359360
})

0 commit comments

Comments
 (0)