terraform/command/format
Alisdair McDiarmid 25f99857cf cli: Fix crash with invalid JSON diagnostics
If a JSON diagnostic value has a highlight end offset which is before
the highlight start offset, this would previously panic. This commit
adds a normalization step to prevent the crash.
2021-05-04 08:35:42 -04:00
..
diagnostic.go cli: Fix crash with invalid JSON diagnostics 2021-05-04 08:35:42 -04:00
diagnostic_test.go cli: Fix crash with invalid JSON diagnostics 2021-05-04 08:35:42 -04:00
diff.go command: New -replace=... planning option 2021-05-03 15:43:23 -07:00
diff_test.go cli: Show forces replacement for sensitive attrs 2021-05-03 06:48:10 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
state.go Merge pull request #27081 from hashicorp/jbardin/staticcheck 2020-12-02 15:43:10 -05:00
state_test.go Mildwonkey/providers interface renaming (#27805) 2021-02-18 10:13:43 -05:00
trivia.go command/format: Don't try to fill the last terminal column 2021-01-13 15:37:04 -08:00