Files
pnpm/exec/plugin-commands-script-runners
Ishan Gupta f8367e88d2 fix(dlx): print help message when no arguments are provided (#10690)
* fix(dlx): print help message on calling pnpm dlx without arguments

Running `pnpm dlx` with no arguments would crash Node.js with a
TypeError as it attempted to call `.indexOf()` on an undefined variable.
This commit adds a guard clause and displays the help message instead
and exits gracefully.

Fixes #10633

* refactor: dlx

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2026-02-28 02:02:53 +01:00
..
2026-02-18 14:54:09 +01:00

@pnpm/plugin-commands-script-runners

Commands for running scripts

npm version

Installation

pnpm add @pnpm/plugin-commands-script-runners

License

MIT