Skip to content

[BUG] %%pkgpath%% is using backslashes on Windows #62

@XhmikosR

Description

@XhmikosR

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

%%pkgpath%% is using backslashes on Windows

Expected Behavior

pkgpath should always use forward slashes regardless of the OS, at least in the Actions, IMHO

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

TBF

Environment

  • npm: 8.3.1
  • Node: 16.14.0
  • OS: Windows 10
  • platform: -

I noticed it by accident when I tried to update template-oss in my npm cli fork on my Windows 10 VM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions