Skip to content

Commit

Permalink
Workaround for guardrail-dev#1897
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed Dec 17, 2023
1 parent 166b3d4 commit 5bd034d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/core/src/main/scala/dev/guardrail/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ object Common {
server
.downField("url", _.getUrl)
.unwrapTracker
.filterNot(_.contains("{"))
.map { x =>
val uri = new URI(x.iterateWhileM[Id](_.stripSuffix("/"))(_.endsWith("/")))
@SuppressWarnings(Array("org.wartremover.warts.Null"))
Expand Down

0 comments on commit 5bd034d

Please sign in to comment.