From 76fe3b302f77413d626655380c347e2c2f581f2f Mon Sep 17 00:00:00 2001 From: Anitha Varghese Date: Mon, 21 Oct 2024 15:04:00 +0530 Subject: [PATCH] update: verify the automation script #29 --- lib/service/diabetes-research-hub/drhctl.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/service/diabetes-research-hub/drhctl.ts b/lib/service/diabetes-research-hub/drhctl.ts index 775683da4..117df0c6b 100644 --- a/lib/service/diabetes-research-hub/drhctl.ts +++ b/lib/service/diabetes-research-hub/drhctl.ts @@ -18,7 +18,7 @@ const toolCmd = isWindows ? ".\\surveilr" : "surveilr"; const dbFilePath = "resource-surveillance.sqlite.db"; // Path to your SQLite DB const RSC_BASE_URL = "https://raw.githubusercontent.com/surveilr/www.surveilr.com/main/lib/service/diabetes-research-hub"; -const UX_URL = "https://www.surveilr.com/lib/service/diabetes-research-hub"; +//const UX_URL = "https://www.surveilr.com/lib/service/diabetes-research-hub"; //const UX_URL = "http://localhost:4321/lib/service/diabetes-research-hub"; @@ -249,8 +249,8 @@ try { try { console.log(colors.dim(`Performing UX orchestration: ${folderName}...`)); - await executeCommand([toolCmd, "shell"], uxSQLSupplier); - //executeSqlCommands(uxSQL); // Execute UX SQL commands + //await executeCommand([toolCmd, "shell"], uxSQLSupplier); + executeSqlCommands(uxSQL); // Execute UX SQL commands console.log(colors.green("UX orchestration completed successfully.")); } catch (error) { console.error(colors.cyan("Error during UX orchestration:"), error.message);