Skip to content

Commit

Permalink
Update CICD.Tools.CatalogUpload.Lib/CatalogMetaData.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Michiel Oda <97458010+MichielOda@users.noreply.github.com>
  • Loading branch information
janstaelensskyline and MichielOda authored Oct 8, 2024
1 parent 504d4e8 commit 782e094
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CICD.Tools.CatalogUpload.Lib/CatalogMetaData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,8 @@ public bool SearchAndApplyReadMe(IFileSystem fs, string startPath)
PathToReadme = foundReadme;
if (foundReadme == null) return false;

string foundImages;
var directoryForImages = fs.File.GetParentDirectory(PathToReadme);
foundImages = RecursiveFindClosestImages(fs, directoryForImages, 5);
string foundImages = RecursiveFindClosestImages(fs, directoryForImages, 5);

PathToImages = foundImages;
return true;
Expand Down

0 comments on commit 782e094

Please sign in to comment.