Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gagliardetto committed Jan 21, 2024
1 parent bc6eeec commit b838cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/deprecated/replace-index-magic.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ func main() {
fmt.Printf("First 8 bytes = %v , as string = %s\n", b, b)
target := oldMagic
if !bytes.Equal(b, target[:]) {
fmt.Printf("Doesn't match old magic, but has %v\n", b)
fmt.Printf("Doesn't match old magic; skipping\n")
return
}
if dry {
fmt.Printf("⚪ Dry run, not replacing\n")
fmt.Printf("⚪ Dry run, not replacing and exiting\n")
return
}
fmt.Printf("Found old magic; replacing with new magic\n")
Expand Down

0 comments on commit b838cea

Please sign in to comment.