Commit fc3ba2ff authored by Prince J Wesley's avatar Prince J Wesley Committed by cjihrig
Browse files

repl: Use displayErrors for SyntaxError

```js
node 🙈 ₹ git:(upstream ⚡ display-error-repl) ./node
> var 4;
var 4;
    ^
SyntaxError: Unexpected number

>
```

PR-URL: https://github.com/nodejs/node/pull/7589


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>

Conflicts:
	test/parallel/test-repl.js
parent 577adc74
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment