From c7a9d87152ceb0fbe87d31ddd5c50244423c176b Mon Sep 17 00:00:00 2001 From: Amir Yonatan Date: Mon, 18 Dec 2023 21:32:03 +0200 Subject: [PATCH] make function sync (#246) --- src/repluggableAppDebug/repluggableAppDebug.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/repluggableAppDebug/repluggableAppDebug.ts b/src/repluggableAppDebug/repluggableAppDebug.ts index 095ab48..365a364 100644 --- a/src/repluggableAppDebug/repluggableAppDebug.ts +++ b/src/repluggableAppDebug/repluggableAppDebug.ts @@ -37,10 +37,10 @@ function mapApiToEntryPoint(allPackages: EntryPoint[]) { return apiToEntryPoint } -const getAPIOrEntryPointsDependencies = async ( +const getAPIOrEntryPointsDependencies = ( apisOrEntryPointsNames: string[], entryPoints: EntryPoint[] -): Promise<{ entryPoints: EntryPoint[]; apis: AnySlotKey[] }> => { +): { entryPoints: EntryPoint[]; apis: AnySlotKey[] } => { const apiToEntryPoint = mapApiToEntryPoint(entryPoints) const loadedEntryPoints = new Set()