Skip to content

Commit 7ee12dc

Browse files
author
Christopher Willis-Ford
committed
don't return await
1 parent 6e1bfc3 commit 7ee12dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const makeFullUrl = (url, search = null) =>
8686
const askForMediaAccess = async mediaType => {
8787
if (systemPreferences.askForMediaAccess) {
8888
// Electron currently only implements this on macOS
89-
return await systemPreferences.askForMediaAccess(mediaType);
89+
return systemPreferences.askForMediaAccess(mediaType);
9090
}
9191
// For other platforms we can't reasonably do anything other than assume we have access.
9292
return true;

0 commit comments

Comments
 (0)