diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /std/encoding/_yaml/schema.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/encoding/_yaml/schema.ts')
-rw-r--r-- | std/encoding/_yaml/schema.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/encoding/_yaml/schema.ts b/std/encoding/_yaml/schema.ts index 98b49203c..b955e5df8 100644 --- a/std/encoding/_yaml/schema.ts +++ b/std/encoding/_yaml/schema.ts @@ -10,7 +10,7 @@ import type { ArrayObject, Any } from "./utils.ts"; function compileList( schema: Schema, name: "implicit" | "explicit", - result: Type[] + result: Type[], ): Type[] { const exclude: number[] = []; @@ -78,7 +78,7 @@ export class Schema implements SchemaDefinition { if (type.loadKind && type.loadKind !== "scalar") { throw new YAMLError( // eslint-disable-next-line max-len - "There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported." + "There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.", ); } } @@ -87,7 +87,7 @@ export class Schema implements SchemaDefinition { this.compiledExplicit = compileList(this, "explicit", []); this.compiledTypeMap = compileMap( this.compiledImplicit, - this.compiledExplicit + this.compiledExplicit, ); } |