Skip to content

fix(theme): pass a null formatVersion, as lich installs it - #54

Merged
omartelo merged 1 commit into
mainfrom
fix/theme-validate-null-format-version
Oct 8, 2026
Merged

omartelo merged 1 commit into
mainfrom
fix/theme-validate-null-format-version

Conversation

@omartelo

@omartelo omartelo commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

lich decodes formatVersion: null like an omitted one (0, read as 1) and installs the theme; validate.mjs rejected it. Last divergence left from #52.

  • Test: formatVersion null passes in tests/theme-validate.test.mjs, red before, green after.
  • Suite 336/336; the six published theme packs still pass.
  • CHANGELOG entry under [Unreleased]; no release cut.

lich decodes a null formatVersion into the int field it leaves at 0, the value
an omitted one gets, and installs the theme. The validator rejected it as not a
positive integer.
@omartelo
omartelo merged commit 1304470 into main Oct 8, 2026
2 checks passed
@omartelo
omartelo deleted the fix/theme-validate-null-format-version branch October 8, 2026 17:18
@omartelo omartelo mentioned this pull request Oct 8, 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