We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 752a97e commit 4e90518Copy full SHA for 4e90518
packages/nx-plugin/src/executors/internal/cli.ts
@@ -50,7 +50,7 @@ export function createCliCommandObject(options?: {
50
51
// If bin contains spaces, use the first part as command and rest as args
52
// If bin is a single path, default to 'npx' and use the bin as first arg
53
- const finalCommand = binArr.length > 1 ? binArr[0] : 'npx';
+ const finalCommand = binArr.length > 1 ? (binArr[0] ?? 'npx') : 'npx';
54
const binArgs = binArr.length > 1 ? binArr.slice(1) : [bin];
55
56
return {
0 commit comments