From 87fbdf428230671e5bc053e2ca2d0d040f464396 Mon Sep 17 00:00:00 2001 From: Zaid Ajaj Date: Tue, 6 Dec 2022 22:14:17 +0100 Subject: [PATCH] lint --- sdk/nodejs/runtime/invoke.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/nodejs/runtime/invoke.ts b/sdk/nodejs/runtime/invoke.ts index 5f1965fd64b6..e60f31d190cc 100644 --- a/sdk/nodejs/runtime/invoke.ts +++ b/sdk/nodejs/runtime/invoke.ts @@ -75,7 +75,7 @@ export function invoke(tok: string, props: Inputs, opts: InvokeOptions = {}): Pr } /* - * `invokeSingle` dynamically invokes the function, `tok`, which is offered by a provider plugin. + * `invokeSingle` dynamically invokes the function, `tok`, which is offered by a provider plugin. * Similar to `invoke`, but returns a single value instead of an object with a single key. */ export function invokeSingle(tok: string, props: Inputs, opts: InvokeOptions = {}): Promise { @@ -84,7 +84,7 @@ export function invokeSingle(tok: string, props: Inputs, opts: InvokeOptions = { const keys = Object.keys(outputs); // return the first key's value from the outputs return outputs[keys[0]]; - }) + }); } export async function streamInvoke(