Skip to content

Commit

Permalink
chore(deps): update plugin.ktfmt to v0.16.0 (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Joseph Cooper <[email protected]>
  • Loading branch information
renovate[bot] and grodin authored Jan 23, 2024
1 parent dc328eb commit 3487dc8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ internal object DebugDrawerModules {
Timber.i("Restarting app to reflect updated emulator connection settings")
ProcessPhoenix.triggerRebirth(context)
},
initialHost = runBlocking { debugPreferences.emulatorHost.value() }
?: "(No host set)"
initialHost =
runBlocking { debugPreferences.emulatorHost.value() } ?: "(No host set)"
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.omricat.logging.Loggable
import com.omricat.logging.log

context(Loggable)

inline fun <V, E, T : Exception> Result<V, T>.logAndMapException(
transform: (T) -> E
): Result<V, E> = this.onFailure { logger.log(Warn, throwable = it) { "" } }.mapError(transform)
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ agp = "8.2.1"
plugin_dependencyAnalysis = "1.29.0"
plugin_googleServices = "4.4.0"
plugin_gradleDoctor = "0.9.1"
plugin_ktfmt = "0.13.0"
plugin_ktfmt = "0.16.0"
plugin_moduleGraphAssertion = "2.5.0"
plugin_taskTree = "2.1.1"

Expand Down
2 changes: 0 additions & 2 deletions util/logging/src/main/kotlin/com/omricat/logging/Loggable.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public interface Loggable {
}

context(Loggable)

public inline fun <reified T : Any> T.log(
priority: Severity = Debug,
tag: String? = null,
Expand All @@ -20,7 +19,6 @@ public inline fun <reified T : Any> T.log(
}

context(Loggable)

public inline fun <reified T : Any> T.log(
priority: Severity = Debug,
tag: String? = null,
Expand Down

0 comments on commit 3487dc8

Please sign in to comment.