Skip to content

Add SourcesJar and Unknown variants to AdditionalFileType enum#15

Open
TheDGOfficial wants to merge 2 commits intogorilla-devs:masterfrom
TheDGOfficial:patch-1
Open

Add SourcesJar and Unknown variants to AdditionalFileType enum#15
TheDGOfficial wants to merge 2 commits intogorilla-devs:masterfrom
TheDGOfficial:patch-1

Conversation

@TheDGOfficial
Copy link

@TheDGOfficial TheDGOfficial commented Jan 26, 2026

This fixes the error that I was getting with the Fast Noise mod, when doing ./ferium scan with it in the mods folder, this would show up:

unknown variant `sources-jar`, expected `required-resource-pack` or `optional-resource-pack` at line 1 column 57679

When removing that mod from mods folder, the scan command would go on as normal.

Verified locally by using a local copy of ferinth with this change and compiling ferium with it, the scan command works when having the mod in mod folder.

[patch.crates-io]
ferinth = { path = "./ferinth" }

Fixes gorilla-devs/ferium#502

@CLAassistant
Copy link

CLAassistant commented Jan 26, 2026

CLA assistant check
All committers have signed the CLA.

@TheDGOfficial TheDGOfficial changed the title Add SourcesJar to AdditionalFileType enum Add SourcesJar and Unknown variants to AdditionalFileType enum Jan 27, 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.

Ferium fails to update a mod (Continuity, Jade) Modrinth: unknown variant sources-jar

2 participants