Skip to content

Commit

Permalink
fix: use rmDirSync instead of rmSync
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Jun 6, 2024
1 parent c848a8f commit 01084f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async function installBrew() {
if (!Env.CI) {
await runSudoUnix("rm", `-rf /opt/homebrew`)
} else {
fs.rmSync("/opt/homebrew")
fs.rmdirSync("/opt/homebrew")
}
}

Expand Down

0 comments on commit 01084f7

Please sign in to comment.