prettier
This commit is contained in:
@@ -43,7 +43,8 @@ const InfoDetails = (props) => {
|
||||
<textarea
|
||||
autoFocus
|
||||
rows={9}
|
||||
onChange={() => {}}
|
||||
onChange={() => {
|
||||
}}
|
||||
value={msg}
|
||||
className={'SkynetImportTextArea'}
|
||||
onClick={(e) => scrollToTop(e.target)}
|
||||
|
||||
@@ -205,7 +205,8 @@ class Configuration extends IPCContainer {
|
||||
OriginalItemList: itemListCopy,
|
||||
OriginalObjectLookup: objectLookupCopy,
|
||||
},
|
||||
() => {}
|
||||
() => {
|
||||
}
|
||||
);
|
||||
} else {
|
||||
this.props.notifyError(arg.data.Error);
|
||||
|
||||
@@ -21,7 +21,8 @@ class HostList extends Component {
|
||||
this.setState({items: this.props.value});
|
||||
}
|
||||
|
||||
componentWillUnmount() {}
|
||||
componentWillUnmount() {
|
||||
}
|
||||
|
||||
handleAddHost = () => {
|
||||
this.props.AddHost(this.state.items, (changed, {host_data}) => {
|
||||
|
||||
@@ -43,7 +43,8 @@ const addListeners = (ipcMain, { getMainWindow, dialog }) => {
|
||||
if (fs.existsSync(data.FilePath)) {
|
||||
fs.unlinkSync(data.FilePath);
|
||||
}
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Select_File + '_sync', (event, data) => {
|
||||
|
||||
@@ -109,7 +109,8 @@ const addListeners = (ipcMain, { setTrayImage, standardIPCReply }) => {
|
||||
driveLetters[provider].push(drive);
|
||||
}
|
||||
}
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,8 @@ const addListeners = (ipcMain, { standardIPCReply }) => {
|
||||
});
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Get_Pinned_Files_Status, (event, data) => {});
|
||||
ipcMain.on(Constants.IPC_Get_Pinned_Files_Status, (event, data) => {
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Set_Pinned + '_sync', (event, data) => {
|
||||
helpers
|
||||
|
||||
@@ -14,7 +14,8 @@ const addListeners = (ipcMain, { getCleanupReleases, standardIPCReply }) => {
|
||||
let exists = false;
|
||||
try {
|
||||
exists = fs.existsSync(destination) && fs.lstatSync(destination).isDirectory();
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
standardIPCReply(event, Constants.IPC_Check_Installed_Reply, {
|
||||
Dependencies: dependencies,
|
||||
Exists: exists,
|
||||
@@ -53,7 +54,8 @@ const addListeners = (ipcMain, { getCleanupReleases, standardIPCReply }) => {
|
||||
.on('error', (error) => {
|
||||
try {
|
||||
helpers.removeDirectoryRecursively(destination);
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
stream.close();
|
||||
standardIPCReply(
|
||||
event,
|
||||
|
||||
@@ -19,7 +19,8 @@ const addListeners = (ipcMain, { setIsInstalling, unmountAllDrives, standardIPCR
|
||||
if (tempPub) {
|
||||
fs.unlinkSync(tempPub);
|
||||
}
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
}
|
||||
};
|
||||
|
||||
const errorHandler = (err) => {
|
||||
|
||||
Reference in New Issue
Block a user