Skip to content

Commit

Permalink
fix(rm): properly detect page ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredallard committed May 25, 2024
1 parent de4eee2 commit 44f28e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rm/zip.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func newZipFromDir(path string) (*Zip, error) {
}

z.Pages = append(z.Pages, Page{
ID: id,
ID: strings.TrimSuffix(f.Name(), ".rm"),
Path: filepath.Join(path, id, f.Name()),
})
}
Expand Down

0 comments on commit 44f28e8

Please sign in to comment.