Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
process.stdin.on('end', () => {
core_d.invoke(args, text);
});
return;
}
const args = process.argv.slice(2);
if (args.indexOf('--stdin') > -1) {
let text = '';
process.stdin.setEncoding('utf8');
process.stdin.on('data', (chunk) => {
text += chunk;
});
process.stdin.on('end', () => {
core_d.invoke(args, text);
});
return;
}
core_d.invoke(args);