util: move .decorateErrorStack to internal/util
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 25 Nov 2015 21:37:43 +0000 (22:37 +0100)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:29 +0000 (11:52 -0800)
commit6a7c9d9293023e298f783057c4bade4ff0c14cc9
tree56bb54fbffead29447cec4205dde34104de197f7
parent0ae90ecd3d481bd2e8f2334468bc442435f8b5c6
util: move .decorateErrorStack to internal/util

Move the method that was added in commit 8ca412b from earlier this month
from lib/util.js to lib/internal/util.js.

Avoids exposing a method that we may not wish to expose just yet, seeing
how it relies on implementation details.

PR-URL: https://github.com/nodejs/node/pull/4026
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
lib/internal/util.js
lib/repl.js
lib/util.js
test/parallel/test-util-decorate-error-stack.js