tapjs / stack-utils

Captures and cleans stack traces.
https://www.npmjs.com/package/stack-utils
MIT License
190 stars 35 forks source link

Indent option for `clean` method #12

Closed jamestalmage closed 4 years ago

jamestalmage commented 8 years ago

Setting a zero indent is good for yaml display, but not what we wanted for AVA's mini reporter. We ended up increasing the indent manually, but it would be cleaner if we didn't have to:

https://github.com/sindresorhus/ava/pull/418/files#r49650296