fix errors reported by linter

This commit is contained in:
dkanada 2020-11-07 16:10:02 +09:00 committed by GitHub
parent d4c8d1a334
commit 3b8e4c6330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ export async function serverAddress() {
responses = responses.filter(response => response && response.ok);
return Promise.all(responses.map(response => response.json()));
}).then(configs => {
const selection = configs.find(config => !config.StartupWizardCompleted)
let selection = configs.find(config => !config.StartupWizardCompleted);
if (!selection) selection = configs[0];
return Promise.resolve(selection.LocalAddress);
}).catch(error => {