Skip to content

Commit 96eaeec

Browse files
committed
Fix: Corrected generator using namespaces
1 parent 26a8cea commit 96eaeec

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/CodeOfChaos.CliArgsParser.Generators/Content/CommandGenerator/Generator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ private static void GenerateSources(SourceProductionContext context, (Compilatio
5050
.AppendAutoGenerated()
5151
.AppendUsings(
5252
"CodeOfChaos.CliArgsParser",
53-
"CodeOfChaos.CliArgsParser.Contracts",
5453
"System.Threading.Tasks"
5554
)
5655
.AppendLine($"namespace {dto.Namespace};")

src/CodeOfChaos.CliArgsParser.Generators/Content/ParametersGenerator/Generator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ private static void GenerateSources(SourceProductionContext context, (Compilatio
5656
.AppendAutoGenerated()
5757
.AppendUsings(
5858
"System",
59-
"CodeOfChaos.CliArgsParser",
60-
"CodeOfChaos.CliArgsParser.Contracts"
59+
"CodeOfChaos.CliArgsParser"
6160
)
6261
.AppendLine($"namespace {dto.Namespace};")
6362
.AppendLine("#nullable enable")

0 commit comments

Comments
 (0)