Skip to content

fix: respect custom viewer in npm help - #9829

Draft
happykawayigt wants to merge 1 commit into
npm:latestfrom
happykawayigt:codex/fix-custom-help-viewer
Draft

fix: respect custom viewer in npm help#9829
happykawayigt wants to merge 1 commit into
npm:latestfrom
happykawayigt:codex/fix-custom-help-viewer

Conversation

@happykawayigt

Copy link
Copy Markdown

Use the configured viewer program when opening man pages, while preserving the existing browser and woman special cases. This also adds regression coverage for a custom viewer.

Testing

  • tap --no-coverage test/lib/commands/help.js (16 subtests passed)
  • eslint lib/commands/help.js test/lib/commands/help.js
  • git diff --check

References

Fixes #9828

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] custom viewer ignored in npm help

1 participant