Compare commits

...

2 Commits

Author SHA1 Message Date
d15500d5a0 1.2.14 2021-06-23 15:30:55 +02:00
7e99fd703f fix(core): update 2021-06-23 15:30:55 +02:00
3 changed files with 6 additions and 4 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -34,6 +34,8 @@ export const runCli = async () => {
const pathToTsFile = process.argv[2];
const pathToLoad = path.join(process.cwd(), pathToTsFile);
process.argv.shift();
console.log(process.argv);
process.argv.pop();
console.log(process.argv);
import(pathToLoad);
};