mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-03 10:21:06 +05:30
style: run prettier formatter over src and tests
This commit is contained in:
@@ -10,7 +10,10 @@ function register({ crash, getMainWindow }) {
|
||||
});
|
||||
|
||||
ipcMain.handle('crash:delete', (_event, filename) => {
|
||||
if (typeof filename === 'string' && /^\d+(-\d+)?-(uncaughtException|unhandledRejection)\.json$/.test(filename)) {
|
||||
if (
|
||||
typeof filename === 'string' &&
|
||||
/^\d+(-\d+)?-(uncaughtException|unhandledRejection)\.json$/.test(filename)
|
||||
) {
|
||||
crash.delete(filename);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user