Skip to content

Commit

Permalink
revert report name
Browse files Browse the repository at this point in the history
  • Loading branch information
saied89 committed Oct 16, 2023
1 parent 30e91d6 commit cbf356e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class NewSamplesViewModel(application: Application) : AndroidViewModel(applicati
newModuleSamples = buildList {
var moduleName = ""
val curSamples = mutableListOf<String>()
assetsManager.open("samples_report_new.txt").bufferedReader().forEachLine { line ->
assetsManager.open("samples_report.txt").bufferedReader().forEachLine { line ->
if (line.endsWith(" Module:")) {
val newModuleName = line.trim().split(' ').first()
if (moduleName.isNotEmpty() && curSamples.isNotEmpty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SamplesProcessor(
}
codeGenerator.createNewFileByPath(
Dependencies(false),
"assets/samples_report_new",
"assets/samples_report",
extensionName = "txt"
).use {
it.bufferedWriter().use { writer ->
Expand Down

0 comments on commit cbf356e

Please sign in to comment.