mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
fixed log statement formatting error
This commit is contained in:
parent
856e1c966e
commit
234eb86f69
1 changed files with 1 additions and 1 deletions
|
@ -2139,7 +2139,7 @@ func copyToClipboard(str string) {
|
||||||
}
|
}
|
||||||
cmd.Stdin = bytes.NewReader([]byte(str))
|
cmd.Stdin = bytes.NewReader([]byte(str))
|
||||||
if err := cmd.Run(); err != nil {
|
if err := cmd.Run(); err != nil {
|
||||||
log.Debugf("error copying to clipboard", err)
|
log.Debugf("error copying to clipboard: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Fprintf(os.Stderr, "Code copied to clipboard")
|
fmt.Fprintf(os.Stderr, "Code copied to clipboard")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue