Skip to content

fix(pnpm): list command not working#1239

Merged
FlorianBruniaux merged 1 commit intortk-ai:developfrom
KuSh:fix-pnpm-list
Apr 13, 2026
Merged

fix(pnpm): list command not working#1239
FlorianBruniaux merged 1 commit intortk-ai:developfrom
KuSh:fix-pnpm-list

Conversation

@KuSh
Copy link
Copy Markdown
Collaborator

@KuSh KuSh commented Apr 12, 2026

Summary

rtk pnpm list fails to parse the json output:

❯ rtk -vvv pnpm list
[RTK:DEGRADED] pnpm list parser: JSON parse failed: invalid type: sequence, expected struct PnpmListOutput at line 1 column 0
pkg:16 ^0

Output format struct doesn't seem to have changed during the last 7 years

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected
❯ ../rtk/target/debug/rtk -vvv pnpm list
pnpm list (Tier 1: Full JSON parse)
pkg:51 ^0

Signed-off-by: Nicolas Le Cam <niko.lecam@gmail.com>
Copy link
Copy Markdown
Collaborator

@FlorianBruniaux FlorianBruniaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — clean fix, tests pass.

@FlorianBruniaux FlorianBruniaux merged commit 9be5cc2 into rtk-ai:develop Apr 13, 2026
11 checks passed
@KuSh KuSh deleted the fix-pnpm-list branch April 13, 2026 09:03
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.

2 participants