Skip to content

Nested pnpm calls don't respect any of npm_config_report=silent, --silent, --reporter=silent or --loglevel=silent #7608

@antitoxic

Description

@antitoxic

Verify latest release

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

pnpm version

8.14.3

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

CLI

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

No response

Reproduction steps

  • Have a pnpm workspace
  • add a pnpm exec echo 'test' as a script called nestedtest to some of the packages
  • run npm_config_report=silent pnpm --filter="packagename" nestedtest

You can try the same with also with --silent, --reporter=silent or --loglevel=silent

Describe the Bug

Despite even using environment variable pnpm outputs:

> <package>@<version> nestedtest /path/to/package
> pnpm exec echo 'test'

test

Expected Behavior

only see test as output

Which Node.js version are you using?

v18.15.0

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