Skip to content

Commit

Permalink
Fix XlsxReader.sheet/3 Credo pattern match error (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
03juan committed Oct 4, 2023
1 parent 0338872 commit ab3bb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xlsx_reader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ defmodule XlsxReader do
```
"""
@spec sheet(XlsxReader.Package.t(), sheet_name(), Keyword.t()) :: {:ok, rows()}
@spec sheet(XlsxReader.Package.t(), sheet_name(), Keyword.t()) :: {:ok, rows()} | error()
def sheet(package, sheet_name, options \\ []) do
PackageLoader.load_sheet_by_name(package, sheet_name, options)
end
Expand Down

0 comments on commit ab3bb25

Please sign in to comment.