Skip to content

Commit

Permalink
fix remove file temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
loo-y authored Sep 20, 2023
1 parent d75c54a commit 41c7afc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bunBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ async function bunBuild() {

const zipFIle = path.resolve(__dirname, './iPhoneOrder.zip')

await Promise.all([
removeFile(builtContentScript, true),
removeFile(builtInjectScript, true),
removeFile(zipFIle, true),
])
// 临时移除 removeFile 调用, bun的bug。 TODO
// await Promise.all([
// removeFile(builtContentScript, true),
// removeFile(builtInjectScript, true),
// removeFile(zipFIle, true),
// ])

// @ts-ignore
await Bun.build({
Expand Down

0 comments on commit 41c7afc

Please sign in to comment.