From 939537aec618ed3528d24c5448300ee8054f5386 Mon Sep 17 00:00:00 2001 From: muehlhaus Date: Mon, 13 Mar 2023 20:52:34 +0100 Subject: [PATCH] Refactor FsWorkbook --- src/FsSpreadsheet/FsWorkbook.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FsSpreadsheet/FsWorkbook.fs b/src/FsSpreadsheet/FsWorkbook.fs index a4a40dbe..03a71f26 100644 --- a/src/FsSpreadsheet/FsWorkbook.fs +++ b/src/FsSpreadsheet/FsWorkbook.fs @@ -67,8 +67,8 @@ type FsWorkbook() = /// Returns all FsWorksheets. static member getWorksheets (workbook : FsWorkbook) = - workbook.GetWorksheets() |> ignore - workbook + workbook.GetWorksheets() + /// Removes an FsWorksheet with given name from an FsWorkbook. static member removeWorksheetByName (name : string) (workbook : FsWorkbook) =