Updates
This commit is contained in:
Vendored
+1
-1
@@ -8,6 +8,7 @@ const fs_1 = __importDefault(require("fs"));
|
||||
const path_1 = __importDefault(require("path"));
|
||||
const child_process_1 = require("child_process");
|
||||
const env_1 = __importDefault(require("./utils/env"));
|
||||
global.SYNCING = false;
|
||||
const confFileProvidedPath = process.argv[process.argv.length - 1];
|
||||
if (confFileProvidedPath === "--version" || confFileProvidedPath === "-v") {
|
||||
try {
|
||||
@@ -47,7 +48,6 @@ try {
|
||||
if (!configJSON)
|
||||
throw new Error("Config JSON could not be resolved. Please check your files.");
|
||||
const parsedConfigJSON = (0, env_1.default)({ json: configJSON });
|
||||
/** @type {import(".").TurboSyncConfigArray} */
|
||||
const configArray = JSON.parse(parsedConfigJSON);
|
||||
for (let i = 0; i < configArray.length; i++) {
|
||||
const config = configArray[i];
|
||||
|
||||
Reference in New Issue
Block a user