isXander / isXander/Debugify

[Nitpick] Literal newline in `fabric.mod.json` of 1.20.4+1.1 artifact

Open
#323 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
215
Forks
50
Avg merge
9d 6h
Merged PRs (30d)
1

Description

This doesn't seem to be a problem for the Fabric loader, but a strict parser like jq's will choke on literal newlines in strings.
I believe the cause may be that this is a naive string replacement:
https://github.com/isXander/Debugify/blob/0e1043595e00e58952cdd649769f97e036535ef8/build.gradle.kts#L114-L131

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review build.gradle.kts lines 114-131 and inspect the generated fabric.mod.json with jq. Done means the 1.20.4+1.1 artifact remains valid JSON and strict parsing no longer fails on literal newlines in strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, json, kotlin
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.