Skip to content

Bug report: spfx project upgrade path issue #1849

@sympmarc

Description

@sympmarc

Description

If there is a space in the path for the project, the Execute script section of the output for spfx project upgrade may not run without error.

For example, I have a project at D:\code\Clientname Legal\Solution. The script ends up with commands like:
mkdir D:\code\Clientname Legal\Solutions\MatterExtension/teams, which fails due to the space.

It would seem the fix would be to always wrap the path in double quotes to reduce the possibility of these errors.

[Whether or not I should have a space in my paths isn't the point. :) ]

Environment

Windows 10, m365 CLI version 3.0.0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions