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:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user