Skip to content

Commit

Permalink
Bump com.diffplug.spotless from 6.22.0 to 6.23.3 (#100)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Axel Rojas Bachem <axel.bachem@rewe-digital.com>
Co-authored-by: Axel Rojas Bachem <git@simplyroba.de>
  • Loading branch information
3 people authored Dec 27, 2023
1 parent 9deb836 commit 085a341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id("io.spring.dependency-management") version "1.1.4"
kotlin("jvm") version "1.9.21"
kotlin("plugin.spring") version "1.9.22"
id("com.diffplug.spotless") version "6.22.0"
id("com.diffplug.spotless") version "6.23.3"
}

group = "de.simplyroba"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ class PixooClient(config: PixooConfig, private val mapper: ObjectMapper) {
.toBodilessEntity()
.block(DEFAULT_TIMEOUT)
?.statusCode
?.takeIf { it.is2xxSuccessful }
?: throw IllegalStateException("Health check at pixoo failed")
?.takeIf { it.is2xxSuccessful } ?: throw IllegalStateException("Health check at pixoo failed")
}

// OnOff, 0|1, 1=on; 0=off
Expand Down

0 comments on commit 085a341

Please sign in to comment.