From cc447304f5cb94d543f3927c8183709ae72e2f75 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 10 May 2016 13:43:53 +0200 Subject: [PATCH] fix(bin/xo-server): remove ES6 syntax --- bin/xo-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xo-server b/bin/xo-server index d4e4dc237..64fc7ee31 100755 --- a/bin/xo-server +++ b/bin/xo-server @@ -8,7 +8,7 @@ require('../better-stacks') // Make unhandled rejected promises visible. -process.on('unhandledRejection', (reason) => { +process.on('unhandledRejection', function (reason) { console.warn('[Warn] Possibly unhandled rejection:', reason && reason.stack || reason) })