Skip to content

Commit

Permalink
Refactor: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jisungbin committed Nov 30, 2021
1 parent bf55b52 commit 6af5181
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import io.github.jisungbin.gitmessengerbot.common.core.Storage

internal class File {
fun save(path: String, content: String) = Storage.write(path, content)
fun read(path: String, _null: String? = null) = Storage.read(path, _null)
fun read(path: String, _null: String? = null) = Storage.read(path, _null)
fun append(path: String, content: String, appendPrefix: String) =
Storage.append(path, content, appendPrefix)
}

0 comments on commit 6af5181

Please sign in to comment.