From ef48aeb1e8b96986cd93ee28d84973df591fb13f Mon Sep 17 00:00:00 2001 From: Comamoca Date: Sat, 4 Feb 2023 06:26:24 +0900 Subject: [PATCH] :sparkles: (boost.ts, utils.ts) Change execution process to dynamic import --- boost.ts | 2 +- utils.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/boost.ts b/boost.ts index 7acc761..d7511b2 100644 --- a/boost.ts +++ b/boost.ts @@ -59,5 +59,5 @@ if (typeof path == "undefined") { console.log("🚨 An error has occurred"); exit(); } else { - await execDeno(path); + await import(path); } diff --git a/utils.ts b/utils.ts index 0155bfc..459f4b3 100644 --- a/utils.ts +++ b/utils.ts @@ -30,8 +30,6 @@ export function isEmptyString(str: string) { export async function execDeno( path: string, - denoOption?: string, - scriptOption?: string, ) { if (typeof denoOption != "string") { denoOption = "";