lalcebo / json-schema

JSON Schema Collections
MIT License
16 stars 28 forks source link

Problems loading reference AwsStepFunctions parse error #157

Closed mike-mlmedia closed 1 year ago

mike-mlmedia commented 1 year ago

Getting an error in VSCode:

Problems loading reference 'https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/plugin/step_functions.json#/AwsStepFunctions': Unable to parse content from 'https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/plugin/step_functions.json': Parse error at offset 38598.

Maybe related to this commit: https://github.com/lalcebo/json-schema/commit/64f1011f5a513513c2863711f00f77a28d295dcc

@marceliwac

mike-mlmedia commented 1 year ago

Looks like it's maybe a trailing comma syntax error on line 1559

marceliwac commented 1 year ago

Really sorry for this! I think this rogue comma must have sneaked up when I copied code from the editor during testing. Patch #158 should resolve this. @lalcebo

mike-mlmedia commented 1 year ago

Confirmed error message gone. Thanks Marceli!