Skip to content

Commit effdd2c

Browse files
committed
Model Generator: bug fix, namespace option not being assigned
1 parent 539d50f commit effdd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NetCoreForce.ModelGenerator/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static void Main(string[] args)
150150
config.ClassSuffix = suffixOption.Value();
151151
}
152152

153-
if (suffixOption.HasValue())
153+
if (namespaceName.HasValue())
154154
{
155155
config.ClassNamespace = namespaceName.Value();
156156
}

0 commit comments

Comments
 (0)