You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ugrade a CI config, and get this message : Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag to use "!reference" at line 306 (near "!reference [.deploy_template, script] # Ceci inclut le script du template").
I try with --parse-tags option, but this option doesn't seems to exists :
yaml-lint 1.1.6, symfony/yaml v7.0.3: File --parse-tags does not exist
How can i enable the tag support ?
Thanks !
The text was updated successfully, but these errors were encountered:
This tool is simply a wrapper for calling the Yaml::parse() function of the symfony/yaml component, and the error message you've quoted actually comes from the upstream component.
In order to keep things simple, this tool invokes the parse function with some sensible defaults:
P.S. If you need a quick solution for this, you may want to investigate/switch to the official Symfony Console implementation of the YAML 'Lint' command, as this already provides an option for enabling 'parse tags':
Hi,
I recently ugrade a CI config, and get this message :
Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag to use "!reference" at line 306 (near "!reference [.deploy_template, script] # Ceci inclut le script du template").
I try with --parse-tags option, but this option doesn't seems to exists :
yaml-lint 1.1.6, symfony/yaml v7.0.3: File --parse-tags does not exist
How can i enable the tag support ?
Thanks !
The text was updated successfully, but these errors were encountered: