fix(core): update
This commit is contained in:
parent
b8332e1de4
commit
b51cda08c4
@ -19,8 +19,8 @@ export const runCli = async () => {
|
||||
executor: 'bash'
|
||||
});
|
||||
|
||||
smartshellInstance.exec(`node --loader ${tsNodeLoaderPath} ${pathToLoad} ${process.argv.reduce((prevArg, currentArg) => {
|
||||
smartshellInstance.exec(`node --loader ${tsNodeLoaderPath} ${pathToLoad} ${process.argv.length > 0 ? process.argv.reduce((prevArg, currentArg) => {
|
||||
return prevArg + ' ' + currentArg;
|
||||
})}`);
|
||||
}) : ''}`);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user