Skip to content

Commit

Permalink
style:format code
Browse files Browse the repository at this point in the history
  • Loading branch information
GenjiruSUchiwa committed Nov 19, 2024
1 parent 7b1ea75 commit c624f24
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 34 deletions.
7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,9 @@ dotnet_diagnostic.IDE1006.severity = none
dotnet_diagnostic.SA1615.severity = none

[**/Migrations/*]
generated_code = true
generated_code = true



[*.cs]
end_of_line = lf
2 changes: 1 addition & 1 deletion .husky/task-runner.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"name": "csharpier",
"command": "dotnet",
"args": [ "csharpier", "${staged}" ],
"args": [ "dotnet-csharpier", "${staged}" ],
"include": [ "**/*.cs" ]
}
]
Expand Down
64 changes: 32 additions & 32 deletions src/PlaceAPi.Identity/Program.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Hosting;
using PlaceAPi.Identity;
using PlaceAPi.Identity.Authenticate.Composition;
using PlaceAPi.Identity.OpenApi;

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);


{
builder.Services.RegisterPlace(builder);
builder.Services.AddOpenApiFeature(builder.Configuration);
builder.AddServiceDefaults();
}

WebApplication app = builder.Build();


{
app.UseHttpSecurity();
app.WithAuthenticationEndpoints();
app.UsePlaceServices();
if (app.Environment.IsDevelopment())
{
app.WithSwaggerUI();
app.UseDeveloperExceptionPage();
}

await app.RunAsync();
}

public partial class Program { }
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Hosting;
using PlaceAPi.Identity;
using PlaceAPi.Identity.Authenticate.Composition;
using PlaceAPi.Identity.OpenApi;

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);


{
builder.Services.RegisterPlace(builder);
builder.Services.AddOpenApiFeature(builder.Configuration);
builder.AddServiceDefaults();
}

WebApplication app = builder.Build();


{
app.UseHttpSecurity();
app.WithAuthenticationEndpoints();
app.UsePlaceServices();
if (app.Environment.IsDevelopment())
{
app.WithSwaggerUI();
app.UseDeveloperExceptionPage();
}

await app.RunAsync();
}

public partial class Program { }

0 comments on commit c624f24

Please sign in to comment.