mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
formatExtraProperties() raised ctx.indentationLvl before reading the property. The getters of a detached DataView throw, so the level was never lowered again, and the DataView and everything inspected after it in the same call ended up indented too far. Read the value first. Signed-off-by: Miodrag Obradovic <mck097@gmail.com> Assisted-by: a closed-source coding agent PR-URL: https://github.com/nodejs/node/pull/66421 Refs: https://github.com/nodejs/node/pull/60131 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>