Skip to content

Commit

Permalink
lint: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed May 16, 2023
1 parent a0a0ec2 commit 3bc0611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cboard/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *toolsClipboardManager) Write(data []byte) error {
if _, err := io.Copy(stdin, bytes.NewBuffer(data)); err != nil {
return fmt.Errorf("unable to retrieve data from stdin pipe: %w", err)
}
stdin.Close()
stdin.Close() //nolint

if err := cmd.Run(); err != nil {
return fmt.Errorf("unable to wait command: %w", err)
Expand Down

0 comments on commit 3bc0611

Please sign in to comment.