File tree 2 files changed +6
-6
lines changed
src/Atc.Rest.ApiGenerator
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ public static bool GenerateServerSln(
133
133
ArgumentNullException . ThrowIfNull ( srcPath ) ;
134
134
135
135
var projectName = projectPrefixName
136
- . Replace ( " " , "." , StringComparison . Ordinal )
137
- . Replace ( "-" , "." , StringComparison . Ordinal )
136
+ . Replace ( ' ' , '.' )
137
+ . Replace ( '-' , '.' )
138
138
. Trim ( ) ;
139
139
140
140
var rootPath = outputSlnPath . EndsWith ( ".sln" , StringComparison . OrdinalIgnoreCase )
Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ protected BaseProjectOptions(
48
48
RouteBase = openApiDocument . GetServerUrlBasePath ( ) ;
49
49
ProjectName = string . IsNullOrEmpty ( projectSuffixName )
50
50
? projectPrefixName
51
- . Replace ( " " , "." , StringComparison . Ordinal )
52
- . Replace ( "-" , "." , StringComparison . Ordinal )
51
+ . Replace ( ' ' , '.' )
52
+ . Replace ( '-' , '.' )
53
53
. Trim ( )
54
54
: projectPrefixName
55
- . Replace ( " " , "." , StringComparison . Ordinal )
56
- . Replace ( "-" , "." , StringComparison . Ordinal )
55
+ . Replace ( ' ' , '.' )
56
+ . Replace ( '-' , '.' )
57
57
. Trim ( ) + $ ".{ projectSuffixName } ";
58
58
59
59
ProjectPrefixName = ProjectName . Contains ( '.' , StringComparison . Ordinal )
You can’t perform that action at this time.
0 commit comments