Priority
(Low) Something is a little off
Description
When running m365 flow list not as admin, you're getting a weird verbose log.

This is because of this line where we use the && operator.
|
if (this.verbose) { |
|
await logger.logToStderr(`Getting Power Automate flows${args.options.asAdmin && ' as admin'} in environment '${args.options.environmentName}'...`); |
|
} |
Steps to reproduce
Run m365 flow list in verbose or debug mode when not using the --asAdmin flag.
Expected results
Clear verbose log.
Actual results
Undefined value in the verbose log.
Diagnostics
No response
CLI for Microsoft 365 version
v10.4.2
nodejs version
22.14.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Priority
(Low) Something is a little off
Description
When running
m365 flow listnot as admin, you're getting a weird verbose log.This is because of this line where we use the
&&operator.cli-microsoft365/src/m365/flow/commands/flow-list.ts
Lines 102 to 104 in 395d550
Steps to reproduce
Run
m365 flow listin verbose or debug mode when not using the--asAdminflag.Expected results
Clear verbose log.
Actual results
Undefined value in the verbose log.
Diagnostics
No response
CLI for Microsoft 365 version
v10.4.2
nodejs version
22.14.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response