Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
rolang committed Dec 1, 2024
1 parent 7a1869e commit ae3ac2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private[dumbo] object ResourceReader {
override def relativeResourcePath(resource: ResourceFile): String =
locationRelative match {
case Some(l) => resource.path.value.stripPrefix(s"/$l/")
case _ => resource.path.value
case _ => resource.fileName
}

override val location: Option[String] = locationInfo
Expand Down

0 comments on commit ae3ac2d

Please sign in to comment.