Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

fix: public -> static to handle missing directory on GHA #25

Merged
merged 1 commit into from
Jul 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion write.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func write(links []Link, contentIndex ContentIndex, toIndex bool, out string, ro
}

func writeLinkMap(contentIndex *ContentIndex, root string) error {
fp := path.Join(root, "public", "linkmap")
fp := path.Join(root, "static", "linkmap")
file, err := os.OpenFile(fp, os.O_TRUNC|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
return err
Expand Down