Skip to content

ilib-loctool-yaml: Avoid schema warning for non yaml files#265

Open
ehoogerbeets wants to merge 1 commit intomainfrom
fixYamlPlugin
Open

ilib-loctool-yaml: Avoid schema warning for non yaml files#265
ehoogerbeets wants to merge 1 commit intomainfrom
fixYamlPlugin

Conversation

@ehoogerbeets
Copy link
Copy Markdown
Contributor

  • if we are localizing something other than a yaml file, such as a markdown file that has some yaml-style frontmatter in it, then don't try (and fail) to load a yaml schema file and then print the warning on the screen

- if we are localizing something other than a yaml file, such as
  a markdown file that has some yaml-style frontmatter in it, then
  don't try (and fail) to load a yaml schema file and then print
  the warning on the screen
@ehoogerbeets ehoogerbeets self-assigned this Mar 10, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 10, 2026

🦋 Changeset detected

Latest commit: 3e87451

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
ilib-loctool-yaml Patch
ilib-loctool-ghfm Patch
ilib-loctool-mdx Patch
ilib-loctool-openapi Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Jest Code Coverage

Code Coverage for changed files • (0%) 
File% Stmts% Branch% Funcs% LinesUncovered Line #s
report-only-changed-files is enabled. No files were changed in this commit :)
Title Lines Statements Branches Functions
ilib-loctool-ghfm Coverage: 86%
85.98% (638/742) 78.01% (408/523) 87.93% (51/58)
ilib-loctool-mdx Coverage: 84%
84.08% (613/729) 72.83% (413/567) 82.08% (55/67)
ilib-loctool-openapi Coverage: 87%
88.05% (118/134) 57.89% (22/38) 62.96% (17/27)
ilib-loctool-yaml Coverage: 85%
85.71% (348/406) 82.35% (238/289) 71.42% (40/56)
Title Tests Skipped Failures Errors Time
ilib-loctool-ghfm 206 0 💤 0 ❌ 0 🔥 12.497s ⏱️
ilib-loctool-mdx 220 0 💤 0 ❌ 0 🔥 12.969s ⏱️
ilib-loctool-openapi 57 0 💤 0 ❌ 0 🔥 4.45s ⏱️
ilib-loctool-yaml 103 0 💤 0 ❌ 0 🔥 7.516s ⏱️

@ehoogerbeets ehoogerbeets changed the title Avoid schema warning for non yaml files ilib-loctool-yaml: Avoid schema warning for non yaml files Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant