Skip to content

Commit

Permalink
npyio: fix up typo
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Binet <binet@cern.ch>
  • Loading branch information
sbinet committed Nov 13, 2023
1 parent b2755b4 commit 90aa291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func Dump(o io.Writer, r io.ReaderAt) error {
case bytes.Equal(npy.Magic[:], hdr[:]):
err = display(o, io.NewSectionReader(r, 0, sz), fname)
if err != nil {
return fmt.Errorf("npyio: could not display ile: %w", err)
return fmt.Errorf("npyio: could not display file: %w", err)
}

case bytes.Equal(zipMagic[:], hdr[:len(zipMagic)]):
Expand Down

0 comments on commit 90aa291

Please sign in to comment.