V10: fix build warnings in Web.BackOffice (#12479)

* Run code cleanup

* Start manual run

* Finish dotnet format + manual cleanup

* Fix up after merge

* Fix substrings changed to [..]

Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
Co-authored-by: Zeegaan <nge@umbraco.dk>
This commit is contained in:
Nikolaj Geisle
2022-06-20 08:37:17 +02:00
committed by GitHub
parent 7688c61621
commit e762fa91bc
234 changed files with 28037 additions and 27527 deletions

View File

@@ -1,13 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc;
namespace Umbraco.Cms.Web.BackOffice.ActionResults
namespace Umbraco.Cms.Web.BackOffice.ActionResults;
public class JavaScriptResult : ContentResult
{
public class JavaScriptResult : ContentResult
public JavaScriptResult(string? script)
{
public JavaScriptResult(string? script)
{
this.Content = script;
this.ContentType = "application/javascript";
}
Content = script;
ContentType = "application/javascript";
}
}