mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Improve @n8n/node-cli cross-platform compatibility and dev experience (no-changelog) (#19368)
This commit is contained in:
11
packages/@n8n/create-node/bin/create-node.cjs
Executable file
11
packages/@n8n/create-node/bin/create-node.cjs
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const { spawnSync } = require('child_process');
|
||||
|
||||
const n8nNodeBin = require.resolve('.bin/n8n-node');
|
||||
|
||||
const result = spawnSync(n8nNodeBin, ['new', ...process.argv.slice(2)], {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
|
||||
process.exit(result.status ?? 1);
|
||||
Reference in New Issue
Block a user