Constrol inspect() indent with option

fix(console): constrol inspect() indent with option (#14867)
Constrol inspect() indent with optionfixconstrol inspect indent option console

Committed by cjihrig

commit message
fix(console): constrol inspect() indent with option (#14867)

This commit updates the Deno.inspect() logic to use the
indentLevel option to control indentation instead of passing
around separate indent/level parameters internally.
 
Refs: https://github.com/denoland/deno/issues/8099
Refs: https://github.com/denoland/deno/issues/14171

Editor assessment

The body here is genuinely good: it explains that `indentLevel` now drives indentation instead of internal indent/level parameters, and the two `Refs:` footers sit correctly after a blank line in proper `token: value` format—spec-compliant linkage to both related issues. That makes the typo in the subject all the more glaring: `constrol` should be `control`, and a commit header is the one line most worth proofreading since it's quoted in releases and `git log --oneline`. Otherwise the structure is right: `fix(console)` scoped accurately, imperative intent, backtick-quoted API. The body could state the observable behavior change. Fix the spelling and this is exemplary.

Browse categories

More fix examples · Back to search