Debugify icon indicating copy to clipboard operation
Debugify copied to clipboard

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

Open YoshiRulz opened this issue 1 year ago • 2 comments

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

YoshiRulz avatar Apr 12 '24 23:04 YoshiRulz

Per https://github.com/FabricMC/fabric-example-mod/pull/282 the fix should be to set escapeBackslash = true in expand {}.

YoshiRulz avatar Jan 23 '25 20:01 YoshiRulz

Thank you

isXander avatar Jan 25 '25 15:01 isXander