File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module.exports.SqlString = require('sqlstring');
11
11
module . exports . config = config ;
12
12
13
13
module . exports . waitDatabaseReady = function ( callback ) {
14
- const tryConnect = ( ) => {
14
+ const tryConnect = function ( ) {
15
15
const conn = module . exports . createConnection ( ) ;
16
16
conn . on ( 'error' , function ( err ) {
17
17
console . log ( err ) ;
Original file line number Diff line number Diff line change @@ -13,15 +13,14 @@ process.env.TZ = 'UTC';
13
13
14
14
require ( 'urun' ) ( __dirname , options ) ;
15
15
16
-
17
- process . on ( 'exit' , ( code ) => {
18
- console . log ( `About to exit with code: ${ code } ` ) ;
16
+ process . on ( 'exit' , function ( code ) {
17
+ console . log ( 'About to exit with code: ' + code ) ;
19
18
} ) ;
20
19
21
- process . on ( 'unhandledRejection' , ( reason ) => {
20
+ process . on ( 'unhandledRejection' , function ( reason ) {
22
21
console . log ( 'unhandledRejection' , reason ) ;
23
22
} ) ;
24
23
25
- process . on ( 'uncaughtException' , ( err ) => {
24
+ process . on ( 'uncaughtException' , function ( err ) {
26
25
console . log ( 'uncaughtException' , err ) ;
27
26
} ) ;
You can’t perform that action at this time.
0 commit comments