Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Baccata committed Jun 27, 2022
1 parent c51f650 commit a47b5fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/codegen/src/smithy4s/codegen/ToLine.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ object ToLine {
case Type.Alias(ns, name, Type.PrimitiveType(_)) =>
Line(Set(s"$ns.$name"), name)
case Type.Alias(_, _, aliased) =>
val (imports, t) = render(aliased).tupled
Line(imports, t)
render(aliased)
case Type.Ref(namespace, name) =>
val imports = Set(s"$namespace.$name")
Line(imports, name)
Expand Down

0 comments on commit a47b5fd

Please sign in to comment.