Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Aug 20, 2024
1 parent 2f1cba8 commit 3ac5e0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public async Task<MediaTemplate> GetMediaTemplateByShapeTypeAsync(string shapeTy
{
var templatePath = GetPath(shapeType + LiquidExtension);

// Check if the file exists with a different casing, before giving up.
// Check if the file exists with a different casing, before giving up. Re-evaluate if this is still needed after
// https://github.com/OrchardCMS/OrchardCore/issues/16585 is resolved.
if (!await _mediaFileStore.FileExistsAsync(templatePath))
{
var basePath = GetPath();
Expand Down

0 comments on commit 3ac5e0c

Please sign in to comment.