Skip to content

Commit 2629648

Browse files
author
James Brundage
committed
JSONSchema protocol: Fixing duplicated [string] types (re #274)
1 parent 3bd5135 commit 2629648

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Transpilers/Protocols/JSONSchema.Protocol.psx.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
[JSONSchema(SchemaURI='https://aka.ms/terminal-profiles-schema#/$defs/Profile')]
1111
param()
1212
}.Transpile()
13-
1413
#>
1514
[ValidateScript({
1615
$commandAst = $_
@@ -262,7 +261,6 @@ process {
262261

263262
# create a validateset.
264263
"[ValidateSet('$($validSet -join "','")')]"
265-
"[string]"
266264
}
267265
# If there was a validation pattern
268266
elseif ($propertyTypeInfo.pattern)

0 commit comments

Comments
 (0)