Skip to content

Commit

Permalink
Fix the code snippet in the task about Inline Method refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
llm-refactoring committed Sep 29, 2023
1 parent 34242bb commit 0beae11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Store {

private fun logError(error: Exception, filePath: String) {
val file = File(filePath)
val text = error.toString()
val text = error
PrintWriter(file, Charsets.UTF_8).use { it.print(text) }
}
}

0 comments on commit 0beae11

Please sign in to comment.