Skip to content

Bug report: in 'spfx project upgrade' invalid allowed value for --shell #3109

@waldekmastykarz

Description

@waldekmastykarz

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions