Skip to content

Commit

Permalink
change error message output to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticrabbit committed Oct 26, 2021
1 parent f7a2a92 commit 10e4be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var getCmd = &cobra.Command{
data := internal.GetTask(taskID, token, clientID)
err := os.WriteFile(filenm, data, 0644)
if err != nil {
fmt.Println("Error writing task JSON")
fmt.Fprintln(os.Stderr, "Error writing task JSON")
}
}
},
Expand Down

0 comments on commit 10e4be0

Please sign in to comment.