Potential fixes for 2 code quality findings (#19639)

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
fisker CheungandCopilot Autofix powered by AI authored and GitHub committed 2026-07-16 00:05:49 +08:00
1 parent 982e978438
commit 9a59059023
1 file changed
+2 -2
+2 -2
View File
@@ -33,7 +33,7 @@ Huge thanks to [@seiyab](https://github.com/seiyab), [@j-f1](https://github.com/
#### Update dependency `yaml` to v2 ([#18419](https://github.com/prettier/prettier/pull/18419) by [@ota-meshi](https://github.com/ota-meshi), [@fisker](https://github.com/fisker)) {#change-18419}
The YAML parser has been upgraded to use `yaml` v2, which fixes many long standing parse issues.
The YAML parser has been upgraded to use `yaml` v2, which fixes many long-standing parse issues.
Thanks to excellent work on the [`yaml-unist-parser`](https://github.com/prettier/yaml-unist-parser/pull/301) side by [@ota-meshi](https://github.com/ota-meshi).
@@ -2211,7 +2211,7 @@ SyntaxError: Unexpected character "EOF" (Do you have an unescaped "{" in your te
<!-- Prettier 3.9 -->
<FancyButton [label]="title">
@content(icon) {
<span>Icon!</span>
<span>Icon</span>
}
@content(description) {
<span>Description text</span>