Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 4ed8d5f

Browse files
authored
print templates to stdout (#13)
1 parent ba579d7 commit 4ed8d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/sample.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ API and compiled. If configuration is valid, a set of examples are printed to st
5656
printStats(cmd.OutOrStdout(), compileResult.Templates, simpleStats, advancedStats, int32(limit))
5757
} else {
5858
for _, message := range compileResult.Templates {
59-
log.Printf("%s", message)
59+
fmt.Fprintf(cmd.OutOrStdout(),"%s\n", message)
6060
}
6161
}
6262
}

0 commit comments

Comments
 (0)