Skip to content

Commit

Permalink
JACOBIN-186 Minor code refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
platypusguy committed Aug 4, 2022
1 parent 322bca8 commit 85ac948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/execdata/execdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ func PrintJacobinBuildData(g *globals.Globals) {
if g.JacobinBuildData == nil {
GetExecBuildInfo(g)
}

if len(g.JacobinBuildData) > 0 {
fmt.Fprintln(os.Stderr, "Jacobin executable:")
_, _ = fmt.Fprintln(os.Stderr, "Jacobin executable:")
}

for key, value := range g.JacobinBuildData {
fmt.Fprintf(os.Stderr, "\t%s: %s\n", key, value)
_, _ = fmt.Fprintf(os.Stderr, "\t%s: %s\n", key, value)
}
}

0 comments on commit 85ac948

Please sign in to comment.