File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 if ($script :luaSkipValidation ) {
9292 Write-Warning " Reserved word '$ident ' used as a bare identifier key at position $identStart ."
9393 } else {
94- $msg = " Reserved word '$ident ' cannot be used as a bare identifier key" +
95- " in a Lua table. Use bracket notation: [`" $ident `" ] = value."
96- throw $msg
94+ throw " Reserved word '$ident ' cannot be used as a bare identifier key. Use bracket notation: [`" $ident `" ] = value."
9795 }
9896 }
9997 # Key = value pair
Original file line number Diff line number Diff line change 8888
8989 process {
9090 $convertParams = @ {
91- InputString = $InputObject
91+ InputString = $InputObject
9292 AsPSCustomObject = -not $AsHashtable
93- MaxDepth = $Depth
94- SkipValidation = $SkipValidation.IsPresent
93+ MaxDepth = $Depth
94+ SkipValidation = $SkipValidation.IsPresent
9595 }
9696 $result = ConvertFrom-LuaTable @convertParams
9797 if ($NoEnumerate -and $result -is [System.Array ]) {
You can’t perform that action at this time.
0 commit comments