Description
When running the spfx project upgrade command, the returned text is not formatted in a helpful way.
This probably has to do with the default output type being json. If I run the command with --output text the text is formatted fine.
Steps to reproduce
Run spfx project upgrade on a project that needs an upgrade.
Expected results
The expected result would be helpfully formatted text, like:

Actual results
The actual result is it will show the upgrade lines with all kinds of new line characters and escape characters:

Diagnostics
No response
CLI for Microsoft 365 version
4.4.0
nodejs version
14.18,1
Operating system (environment)
Windows, Linux
Shell
PowerShell, bash
cli doctor
No response
Additional Info
Description
When running the
spfx project upgradecommand, the returned text is not formatted in a helpful way.This probably has to do with the default output type being json. If I run the command with
--output textthe text is formatted fine.Steps to reproduce
Run
spfx project upgradeon a project that needs an upgrade.Expected results
The expected result would be helpfully formatted text, like:
Actual results
The actual result is it will show the upgrade lines with all kinds of new line characters and escape characters:
Diagnostics
No response
CLI for Microsoft 365 version
4.4.0
nodejs version
14.18,1
Operating system (environment)
Windows, Linux
Shell
PowerShell, bash
cli doctor
No response
Additional Info