Skip to content

Commit

Permalink
deno fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj committed Sep 6, 2024
1 parent 6b3e08a commit 74e6d9e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit 74e6d9e

Please sign in to comment.