File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ describe('minidump', function () {
2525 done ( )
2626 } )
2727 } )
28-
2928 } )
3029 } )
3130
@@ -50,18 +49,18 @@ describe('minidump', function () {
5049} )
5150
5251var downloadElectronSymbols = function ( platform , callback ) {
53- var symbolsPath = temp . mkdirSync ( 'node-minidump-' )
52+ electronDownload ( {
53+ version : '1.4.3' ,
54+ platform : platform ,
55+ symbols : true ,
56+ quiet : true
57+ } , function ( error , zipPath ) {
58+ if ( error ) return callback ( error )
5459
55- electronDownload ( {
56- version : '1.4.3' ,
57- platform : platform ,
58- symbols : true ,
59- quiet : true
60- } , function ( error , zipPath ) {
61- if ( error ) return callback ( error )
62- extractZip ( zipPath , { dir : symbolsPath } , function ( error ) {
63- if ( error ) return callback ( error )
64- callback ( null , path . join ( symbolsPath , 'electron.breakpad.syms' ) )
60+ var symbolsPath = temp . mkdirSync ( 'node-minidump-' )
61+ extractZip ( zipPath , { dir : symbolsPath } , function ( error ) {
62+ if ( error ) return callback ( error )
63+ callback ( null , path . join ( symbolsPath , 'electron.breakpad.syms' ) )
6564 } )
66- } )
65+ } )
6766}
You can’t perform that action at this time.
0 commit comments