Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Revert "add JsonGenerator.kt & ReadmeGenerator.kt output path"
Browse files Browse the repository at this point in the history
This reverts commit c48fa31.
  • Loading branch information
arghya339 committed Dec 1, 2024
1 parent 930f6d4 commit c4565ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/meta/JsonGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ internal class JsonGenerator : PatchesFileGenerator {
)
}

val json = File("build/libs/","patches.json")
val json = File("patches.json")
json.writeText(GsonBuilder().serializeNulls().create().toJson(patches))
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/meta/ReadmeGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal class ReadmeGenerator : PatchesFileGenerator {
}
}

File("build/libs/","README.md").run {
File("README.md").run {
writeText(
readText().replace(Regex("## \uD83E\uDDE9 Patches List.*?</details>", RegexOption.DOT_MATCHES_ALL), output.toString())
)
Expand Down

0 comments on commit c4565ec

Please sign in to comment.