Skip to content

Commit

Permalink
Fix mill plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
msosnicki committed Feb 11, 2025
1 parent 9e1dc2c commit ad64084
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import smithy4s.codegen.{Codegen => Smithy4s}

import scala.util.Success
import scala.util.Try
import smithy4s.codegen.NamespacePattern

trait Smithy4sModule extends ScalaModule {

Expand Down Expand Up @@ -221,8 +222,10 @@ trait Smithy4sModule extends ScalaModule {
resourceOutput = resourcesOutput,
skip = skipSet,
discoverModels = false,
allowedNS = smithy4sAllowedNamespaces(),
excludedNS = smithy4sExcludedNamespaces(),
allowedNS =
smithy4sAllowedNamespaces().map(_.map(NamespacePattern.fromString)),
excludedNS =
smithy4sExcludedNamespaces().map(_.map(NamespacePattern.fromString)),
repositories = smithy4sRepositories(),
dependencies = List.empty,
transformers = smithy4sModelTransformers(),
Expand Down

0 comments on commit ad64084

Please sign in to comment.