Description
In the spfx project upgrade command, we allow the logger value as a valid value for the --shell option which is incorrect. logger should be replaced by cmd:
|
if (['bash', 'powershell', 'logger'].indexOf(args.options.shell) < 0) { |
Steps to reproduce
n/a
Expected results
n/a
Actual results
n/a
Diagnostics
No response
CLI for Microsoft 365 version
latest from main
nodejs version
v16
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response
Description
In the
spfx project upgradecommand, we allow theloggervalue as a valid value for the--shelloption which is incorrect.loggershould be replaced bycmd:cli-microsoft365/src/m365/spfx/commands/project/project-upgrade.ts
Line 722 in 55e5dfb
Steps to reproduce
n/a
Expected results
n/a
Actual results
n/a
Diagnostics
No response
CLI for Microsoft 365 version
latest from main
nodejs version
v16
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response