[Fix] Scripts

This commit is contained in:
Patryk Rzucidlo (PTKDev)
2023-02-11 01:27:13 +01:00
parent 770dea9257
commit 7680437b1d
12 changed files with 212 additions and 14 deletions

View File

@@ -13,7 +13,9 @@ import * as fs from "fs";
import * as shell from "shelljs";
import { argv } from "yargs";
declare const __dirname: string;
import { dirname } from "path";
const __dirname = dirname;
console.log(argv, argv._[0]);
const path = `${__dirname}/../app/configs/config.js`;