Skip to content

Commit

Permalink
chore: change ipsw diff TOC to README
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Aug 12, 2024
1 parent 23a29fe commit 8a5d306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/diff/md.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,11 @@ func (d *Diff) Markdown() error {

out.WriteString("## EOF\n")

// Write TOC.md
// Write README.md
if err := os.MkdirAll(d.conf.Output, 0o750); err != nil {
return err
}
fname := filepath.Join(d.conf.Output, "TOC.md")
log.Infof("Creating diff file Markdown TOC: %s", fname)
fname := filepath.Join(d.conf.Output, "README.md")
log.Infof("Creating diff file Markdown README: %s", fname)
return os.WriteFile(fname, []byte(out.String()), 0o644)
}

0 comments on commit 8a5d306

Please sign in to comment.