Skip to content

NpmDsc false positive when installing foo/bar vs @foo/bar #251

@guillermooo

Description

@guillermooo

Relevant area(s)

WinGet CLI, DSC Resource

Relevant command(s)

No response

Brief description of your issue

See subject.

Steps to reproduce

Use NpmDsc to install mariozechner/pi-coding-agent vs @mariozechner/pi-coding-agent. The first one requires git and authenticating with GitHub, both of which may fail, and still no error is reported during the set operation. The latter uses the npm registry and works as expected.

Expected behavior

If the set operation can't proceed normally, abort with an error.

Minor improvement here:

Actual behavior

Set operation goes about its business and seems to succeed, but it doesn't. For example, if you cannot authenticate with GitHub.

Environment

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions