Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 261ac5ad rédigé par Kubat's avatar Kubat
Parcourir les fichiers

A lisible code, thanks prettier

parent d45e6699
Branches
Aucune étiquette associée trouvée
1 requête de fusion!12Config and signals refactor
...@@ -343,14 +343,13 @@ ipcMain.on('set-settings', (event, arg) => { ...@@ -343,14 +343,13 @@ ipcMain.on('set-settings', (event, arg) => {
config.content.client.port = arg.clientport; config.content.client.port = arg.clientport;
/* prettier-ignore */ /* prettier-ignore */
{
config.content.log.lektord = arg.loglektord; config.content.log.lektord = arg.loglektord;
config.content.log.level = arg.loglevel.ERROR config.content.log.level = arg.loglevel.ERROR ? 'error'
? 'error' : arg.loglevel.WARNING ? 'warning'
: arg.loglevel.WARNING : arg.loglevel.INFO ? 'info'
? 'warning'
: arg.loglevel.INFO
? 'info'
: 'debug'; : 'debug';
}
config.flush(); config.flush();
}); });
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter