From 74e6d9ebba4307311e7f062dc3fd920f965b1908 Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Fri, 6 Sep 2024 15:04:07 -0400 Subject: [PATCH] deno fmt --- .../functions/_scripts/src/templates/template_function.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/schema/slack/functions/_scripts/src/templates/template_function.ts b/src/schema/slack/functions/_scripts/src/templates/template_function.ts index 2354d56b..ccc1f00a 100644 --- a/src/schema/slack/functions/_scripts/src/templates/template_function.ts +++ b/src/schema/slack/functions/_scripts/src/templates/template_function.ts @@ -75,7 +75,9 @@ const propertyToTypeScript = ( const typescript = []; const sdkType = schemaTypeMap[property.type]; if (!sdkType) { - throw new Error(`Unrecognized type "${property.type}"! Maybe a new automation platform type was recently introduced? If so, add it to one of the type files under src/schema.`); + throw new Error( + `Unrecognized type "${property.type}"! Maybe a new automation platform type was recently introduced? If so, add it to one of the type files under src/schema.`, + ); } typescript.push( `type: ${sdkType}`,