Skip to content

Commit 313f392

Browse files
committed
Mac workspace setup fix
1 parent 832a66c commit 313f392

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

main/background.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,8 @@ if (isProd) {
226226
// Kill the process on the port
227227
// killProcessOnPort(serverPort)
228228
} else if (process.platform === "darwin") {
229-
await new Promise((resolve, reject) => {
229+
await new Promise((resolve) => {
230230
exec("pkill -f mongod", (error, stdout, stderr) => {
231-
if (error) {
232-
console.error(`exec error: ${error}`)
233-
reject(error)
234-
}
235-
console.log(`stdout: ${stdout}`)
236-
console.error(`stderr: ${stderr}`)
237231
resolve()
238232
})
239233
}

0 commit comments

Comments
 (0)