Skip to content

Commit

Permalink
fix: remove possible EOL in output (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
livio-a authored Nov 7, 2022
1 parent 910e64c commit 2b21240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/jwt/key2jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func main() {
return
}
}
_, err = f.Write([]byte(jwt))
_, err = fmt.Fprintln(f, jwt)
if errClose := f.Close(); err == nil {
err = errClose
}
Expand Down

0 comments on commit 2b21240

Please sign in to comment.