fix(bin/xo-server): remove ES6 syntax

This commit is contained in:
Julien Fontanet 2016-05-10 13:43:53 +02:00
parent 8f8c6366e3
commit cc447304f5

View File

@ -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)
})