Skip to content

change that introduces fix to issue 93#129

Open
jjijon7000 wants to merge 1 commit into
devfrom
issue-93-languages-override
Open

change that introduces fix to issue 93#129
jjijon7000 wants to merge 1 commit into
devfrom
issue-93-languages-override

Conversation

@jjijon7000

Copy link
Copy Markdown

Summary

This PR fixes the metadata generation bug where manually maintained languages in code.json were being overwritten by GitHub API values during generation.

The behavior now matches the existing tags preservation pattern from issue #92:

  • If languages already exist in code.json, they are preserved.
  • If languages are missing or empty, the generator falls back to the GitHub-detected languages.
  • Added unit coverage for both the preservation path and the fallback path.

Testing

  • npx jest --runInBand src/__tests__/unit/main.test.ts

Related Issue

@jjijon7000 jjijon7000 closed this Jul 15, 2026
@jjijon7000 jjijon7000 reopened this Jul 15, 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.

Metadata: Languages being overridden by GitHub API

1 participant