mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	xo: Enable object-curly-spacing.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		
				
					committed by
					
						
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							e49a880ed6
						
					
				
				
					commit
					ba191c3699
				
			@@ -1,4 +1,4 @@
 | 
			
		||||
import { JsonDB } from 'node-json-db';
 | 
			
		||||
import {JsonDB} from 'node-json-db';
 | 
			
		||||
 | 
			
		||||
import fs from 'fs';
 | 
			
		||||
import path from 'path';
 | 
			
		||||
@@ -16,7 +16,7 @@ let app: Electron.App = null;
 | 
			
		||||
 | 
			
		||||
/* To make the util runnable in both main and renderer process */
 | 
			
		||||
if (process.type === 'renderer') {
 | 
			
		||||
	const { remote } = electron;
 | 
			
		||||
	const {remote} = electron;
 | 
			
		||||
	dialog = remote.dialog;
 | 
			
		||||
	app = remote.app;
 | 
			
		||||
} else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user