Skip to content

Commit

Permalink
Fix installExtensions (#662)
Browse files Browse the repository at this point in the history
We should waiting for extensions installation, otherwise content script will not correctly load on renderer process when we use `forceDownload`.
  • Loading branch information
jhen0409 authored Jan 18, 2017
1 parent 1d69433 commit 91968ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const installExtensions = async () => {
// TODO: Use async interation statement.
// Waiting on https://github.com/tc39/proposal-async-iteration
// Promises will fail silently, which isn't what we want in development
Promise
return Promise
.all(extensions.map(name => installer.default(installer[name], forceDownload)))
.catch(console.log);
}
Expand Down

0 comments on commit 91968ba

Please sign in to comment.