summaryrefslogtreecommitdiff
path: root/output/stdout/stdout.go
diff options
context:
space:
mode:
Diffstat (limited to 'output/stdout/stdout.go')
-rw-r--r--output/stdout/stdout.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/output/stdout/stdout.go b/output/stdout/stdout.go
index 9d66581..f3e4f57 100644
--- a/output/stdout/stdout.go
+++ b/output/stdout/stdout.go
@@ -19,6 +19,7 @@ func New(map[string]string) output.Output {
return &StdoutOutput{}
}
-func (o *StdoutOutput) Output(w *work.Work) {
- fmt.Printf("%s\n", w.Data)
+func (o *StdoutOutput) Output(w *work.Work) error {
+ _, err := fmt.Printf("%s\n", w.Data)
+ return err
}