Compare commits

...

2 Commits

Author SHA1 Message Date
b8332e1de4 1.2.23 2022-03-12 14:52:42 +01:00
da9a73bc79 fix(core): update 2022-03-12 14:52:42 +01:00
3 changed files with 4 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@gitzone/tsrun",
"version": "1.2.22",
"version": "1.2.23",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@gitzone/tsrun",
"version": "1.2.22",
"version": "1.2.23",
"license": "MIT",
"dependencies": {
"@pushrocks/smartfile": "^9.0.6",

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsrun",
"version": "1.2.22",
"version": "1.2.23",
"description": "run typescript programs efficiently",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",

View File

@ -13,8 +13,7 @@ export const runCli = async () => {
const tsNodeLoaderPath = plugins.path.join(__dirname, 'loader.js')
const pathToLoad = plugins.path.join(process.cwd(), pathToTsFile);
process.argv.splice(0, 3);
// console.log(process.argv);
process.argv.splice(0, 3); // this ensures transparent arguments for the child process
const smartshellInstance = new plugins.smartshell.Smartshell({
executor: 'bash'