mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Merge branch 'master' into canary
This commit is contained in:
commit
e8a9741194
1 changed files with 3 additions and 3 deletions
|
|
@ -13,14 +13,14 @@ const {platform} = process;
|
|||
|
||||
let isInit = false;
|
||||
|
||||
function init() {
|
||||
async function init() {
|
||||
autoUpdater.on('error', (err, msg) => {
|
||||
//eslint-disable-next-line no-console
|
||||
console.error('Error fetching updates', msg + ' (' + err.stack + ')');
|
||||
});
|
||||
|
||||
const config = retry(() => {
|
||||
const content = getConfig();
|
||||
const config = await retry(async () => {
|
||||
const content = await getConfig();
|
||||
|
||||
if (!content) {
|
||||
throw new Error('No config content loaded');
|
||||
|
|
|
|||
Loading…
Reference in a new issue