Skip to content

Starting from version 9.0.3, the problem on windows is in the isWindowsBatchFile #8748

@devcustrom

Description

@devcustrom

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

Operating System (Windows, MacOS, Linux)

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

On my windows machine, starting from version 9.0.3, boolean false arrives in the isWindowsBatchFile function in the scriptShell variable, which causes the ERROR scriptShell ERROR.toLowerCase is not a function

Describe the Bug

ERROR  scriptShell.toLowerCase is not a function

Expected Behavior

The absence of this error

Which Node.js version are you using?

20

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

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