Skip to content

Commit

Permalink
Actually return proper filename if wholetext file is used
Browse files Browse the repository at this point in the history
  • Loading branch information
bcssov committed May 23, 2024
1 parent eafb599 commit 1a22ba1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Created : 04-04-2020
//
// Last Modified By : Mario
// Last Modified On : 03-22-2024
// Last Modified On : 05-23-2024
// ***********************************************************************
// <copyright file="BaseDefinitionInfoProvider.cs" company="Mario">
// Mario
Expand Down Expand Up @@ -232,7 +232,7 @@ protected virtual string GenerateFileName(IDefinition definition, bool requestDi
var fileName = definition.ValueType == ValueType.WholeTextFile ? Path.GetFileName(definition.File) : $"{definition.Id}{Path.GetExtension(definition.File)}";
if (definition.ValueType == ValueType.WholeTextFile)
{
GenerateWholeTextFileName(definition);
return GenerateWholeTextFileName(definition);
}
else if (FIOSPaths.Any(p => definition.ParentDirectory.EndsWith(p, StringComparison.OrdinalIgnoreCase)))
{
Expand Down

0 comments on commit 1a22ba1

Please sign in to comment.