Skip to content

Commit

Permalink
feat: add format method (#7)
Browse files Browse the repository at this point in the history
* feat: add static SDK (#6)

* feat: add format function
  • Loading branch information
abd3lraouf committed Jul 18, 2022
1 parent e3b083f commit 942cc8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
},
"release": {
"tagFormat": "${version}",
"branches": [
{
"name": "master"
}
],
"branches": ["master", "next", "next-major", "beta", "alpha"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down
16 changes: 8 additions & 8 deletions sdk/src/main/java/dev/abd3lraouf/learn/sdk/Sdk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
package dev.abd3lraouf.learn.sdk

@Suppress("unused")
class Sdk {
companion object {
fun init() {
println("sdk init")
}
object Sdk {
fun init() {
println("sdk init")
}

fun format(str: String) = str.replace(" ", "_")

fun destroy() {
println("sdk destroy")
}
fun destroy() {
println("sdk destroy")
}
}

0 comments on commit 942cc8e

Please sign in to comment.