mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
12 lines
256 B
JavaScript
Executable File
12 lines
256 B
JavaScript
Executable File
#!/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);
|