Closed barbogast closed 9 years ago
@Koblaid Are you trying to pass an object to schema
option, instead of a string?
If you provide the schema
option then it must be passed as string, ie: gulp.yaml({ schema: 'JSON_SCHEMA' })
or gulp.yaml({ schema: 'json_schema' })
.
@crissdev No, we don't use schema
at all.
We use it like this:
.pipe(plugins.yaml({ space: 2 }))
Thanks. I can see where the problem is. Going to publish a fix in a few minutes.
@Koblaid Just published a new version 1.0.1
. Can you confirm this issue is gone, please? Thanks.
Yes, it works. Thanks a lot! What a response time... :-D
Great, thanks.
I get the error "Error: Schema [object Object] is not valid" after the upgrade to 1.0.0
If it is of any help the
[object Object]
in the error message looks like this: