Skip to content

Commit

Permalink
Implented review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Etschbeijer committed Oct 18, 2024
1 parent 100fc34 commit a0eeeed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Spreadsheet/Template.fs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ module Template =
let isMetadataSheet (sheet : FsWorksheet) =
isMetadataSheetName sheet.Name

let tryGetMetadataSheet (doc : FsWorkbook) =
doc.GetWorksheets()
|> Seq.tryFind isMetadataSheet

let toMetadataSheet (template : Template) : FsWorksheet =
let sheet = FsWorksheet(metaDataSheetName)
Template.toRows template
Expand Down

0 comments on commit a0eeeed

Please sign in to comment.