Skip to content

Commit

Permalink
fix: add new line to ignore pull messaging (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsapet authored Sep 15, 2023
1 parent 9810c01 commit d047766
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/commands/ignore.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,12 @@ $ bearer ignore pull /path/to/your_project --api-key=XXXXX`,
cmd.Printf("Pulling %d ignores from the Cloud:\n", cloudIgnoresCount)
for fingerprintId, fingerprint := range data.CloudIgnoredFingerprints {
if fingerprint.Comment == nil {
cmd.Printf("\t- %s", fingerprintId)
cmd.Printf("\t- %s\n", fingerprintId)
} else {
cmd.Printf("\t- %s (%s)", fingerprintId, *fingerprint.Comment)
cmd.Printf("\t- %s (%s)\n", fingerprintId, *fingerprint.Comment)
}
}
cmd.Printf("\n\n")
cmd.Printf("\n")

if err = writeIgnoreFile(data.CloudIgnoredFingerprints, bearerIgnoreFilePath); err != nil {
return fmt.Errorf("error writing to file: %s", err)
Expand Down

0 comments on commit d047766

Please sign in to comment.