File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 8989 "mongodb-ns" : " ^1.0.3" ,
9090 "mongodb-schema" : " ^4.2.0" ,
9191 "ms" : " ^0.7.1" ,
92- "node-notifier" : " ^4.3.1" ,
9392 "numeral" : " ^1.5.3" ,
9493 "pluralize" : " ^1.2.1" ,
9594 "qs" : " ^5.2.0" ,
Original file line number Diff line number Diff line change 55var electron = require ( 'electron' ) ;
66var AppMenu = require ( './menu' ) ;
77var BrowserWindow = electron . BrowserWindow ;
8- var Notifier = require ( 'node-notifier' ) ;
98
109var _ = require ( 'lodash' ) ;
1110var app = electron . app ;
@@ -255,24 +254,6 @@ app.on('before-quit', function() {
255254 BrowserWindow . getAllWindows ( ) [ 0 ] . webContents . send ( 'message' , 'app-quit' ) ;
256255} ) ;
257256
258- app . on ( 'show bugsnag OS notification' , function ( errorMsg ) {
259- if ( _ . contains ( [ 'development' , 'testing' ] , process . env . NODE_ENV ) ) {
260- Notifier . notify ( {
261- 'icon' : COMPASS_ICON_PATH ,
262- 'message' : errorMsg ,
263- 'title' : 'MongoDB Compass Exception' ,
264- 'wait' : true
265- } , function ( err , resp ) {
266- if ( err ) {
267- debug ( err ) ;
268- }
269- if ( resp === 'Activate\n' ) {
270- openDevTools ( ) ;
271- }
272- } ) ;
273- }
274- } ) ;
275-
276257/**
277258 * When electron's main renderer has completed setup,
278259 * we'll always show the [connect][./src/connect] dialog
You can’t perform that action at this time.
0 commit comments