Skip to content

Commit

Permalink
Fix scaladoc publish errors (#1063)
Browse files Browse the repository at this point in the history
* Fix build errors, captured only in ci

* Fix publish errors

* Fix publish errors
  • Loading branch information
afsalthaj committed Feb 22, 2023
1 parent b5e94ca commit 33cb07e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package zio.config.cats

import _root_.cats.kernel.Semigroup
import cats._
import zio.config._
import zio.{Config, ConfigProvider}

package object instances {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import zio.config.derivation.name
import zio.config.examples.typesafe.EitherImpureOps
import zio.config.magnolia.deriveConfig
import zio.config.typesafe.TypesafeConfigProvider

import examples._

object AutoDerivationSealedTraitCustom extends App with EitherImpureOps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ object DeriveConfig {
): Config[T] = {
val f = (name: String) => desc.nested(name)
labels.toList match {
case head :: next => f(head)
case head :: _ => f(head)
case immutable.Nil => desc
case multiple =>
multiple.tail.foldLeft(f(multiple.head)) { case (acc, n) =>
Expand Down

0 comments on commit 33cb07e

Please sign in to comment.