Skip to content

Commit

Permalink
Merge pull request #30 from staabm/patch-1
Browse files Browse the repository at this point in the history
Fix fileName property via FrontMatter
  • Loading branch information
agneym authored Jul 7, 2022
2 parents 55058a4 + c907930 commit 4270f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function getAttributes(files: PullsListFilesResponseItem[]): IFileProps[] {
: {};
return {
filename: getFileName(
reqdAttributes["filename"],
reqdAttributes["fileName"],
reqdAttributes["title"]
),
attributes: reqdAttributes
Expand Down

0 comments on commit 4270f2e

Please sign in to comment.