From 645ab8628dbf784f15174ee0e4b7105cef9f78e5 Mon Sep 17 00:00:00 2001 From: mkrause Date: Sun, 9 Jun 2024 13:42:25 +0200 Subject: [PATCH] Add missing 'await' for services.run(). --- src/openapiToEffect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openapiToEffect.ts b/src/openapiToEffect.ts index dfd0f01..ecb5130 100644 --- a/src/openapiToEffect.ts +++ b/src/openapiToEffect.ts @@ -435,7 +435,7 @@ export const run = async (argsRaw: Array): Promise => { log: console.log, }; - servicesStorage.run({ logger }, async () => { + await servicesStorage.run({ logger }, async () => { const command: null | string = args.positionals[0] ?? null; if (command === null || args.values.help) { printUsage();