Skip to content

Bug report: spfx project upgrade path issue #1849

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions