danielgtaylor / restish

Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
https://rest.sh/
MIT License
717 stars 69 forks source link

fix: gron output with special chars #221

Closed danielgtaylor closed 9 months ago

danielgtaylor commented 9 months ago

This simplifies the PathBuffer (and makes it a bit more inefficient) to generally lower complexity and ensure the correct output for fields containing ., ], or " characters in their name.

Fixes #217

codecov[bot] commented 9 months ago

Codecov Report

Merging #221 (98245d9) into main (2c85909) will decrease coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
- Coverage   76.94%   76.92%   -0.03%     
==========================================
  Files          26       26              
  Lines        3670     3666       -4     
==========================================
- Hits         2824     2820       -4     
  Misses        639      639              
  Partials      207      207              
Files Coverage Δ
cli/content.go 74.28% <100.00%> (ø)
cli/gron.go 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2c85909...98245d9. Read the comment docs.