Skip to content

Commit

Permalink
remove airdrop_detail.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
tbruyelle committed Sep 3, 2024
1 parent ce8c144 commit a2cb86b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,16 +252,6 @@ func distributionCmd() *ffcli.Command {
}
w.Flush()
fmt.Printf("⚠ '%s' has been created/updated, don't forget to update S3 ⚠\n", airdropDetailFile)

bz, err = json.MarshalIndent(airdrops[0].addressesDetail, "", " ")
if err != nil {
return err
}
filename := filepath.Join(datapath, "airdrop_detail.json")
if err := os.WriteFile(filename, bz, 0o666); err != nil {
return err
}
fmt.Printf("⚠ '%s' has been created/updated, don't forget to update S3 ⚠\n", filename)
}
return nil
},
Expand Down

0 comments on commit a2cb86b

Please sign in to comment.