Update prettier/eslint
This commit is contained in:
@@ -11,12 +11,7 @@ const addListeners = (ipcMain, { standardIPCReply }) => {
|
||||
Config: data.Data,
|
||||
});
|
||||
} else {
|
||||
standardIPCReply(
|
||||
event,
|
||||
Constants.IPC_Get_Config_Reply,
|
||||
{},
|
||||
data.Code
|
||||
);
|
||||
standardIPCReply(event, Constants.IPC_Get_Config_Reply, {}, data.Code);
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
@@ -33,12 +28,7 @@ const addListeners = (ipcMain, { standardIPCReply }) => {
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
standardIPCReply(
|
||||
event,
|
||||
Constants.IPC_Get_Config_Template_Reply,
|
||||
{},
|
||||
error
|
||||
);
|
||||
standardIPCReply(event, Constants.IPC_Get_Config_Template_Reply, {}, error);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -58,12 +48,7 @@ const addListeners = (ipcMain, { standardIPCReply }) => {
|
||||
setConfigValue(++i);
|
||||
})
|
||||
.catch((error) => {
|
||||
standardIPCReply(
|
||||
event,
|
||||
Constants.IPC_Set_Config_Values_Reply,
|
||||
{},
|
||||
error
|
||||
);
|
||||
standardIPCReply(event, Constants.IPC_Set_Config_Values_Reply, {}, error);
|
||||
});
|
||||
} else {
|
||||
standardIPCReply(event, Constants.IPC_Set_Config_Values_Reply, {});
|
||||
|
||||
Reference in New Issue
Block a user