Files
nomad/command
Tim Gross a0cbc1a26a cli: remove extraneous trailing newline from nomad fmt (#20318)
When `nomad fmt` writes to stdout instead of overwriting a file, the command was
using the `UI` output, which appends an extra newline. This results in extra
trailing newlines when using `nomad fmt` as part of a pipeline or editor plugin.

Update the command to write directly to stdout when in the stdout mode.

Fixes: https://github.com/hashicorp/nomad/issues/20307
2024-04-08 13:29:22 -04:00
..
2023-10-20 13:05:55 -04:00
2023-10-20 13:05:55 -04:00
2024-03-11 08:52:08 +00:00
2023-11-07 10:42:00 +01:00
2023-11-02 09:02:07 +01:00