1
1
Fork 0
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:
Elliot 2024-10-08 02:02:58 +05:30
parent 856e1c966e
commit 234eb86f69
No known key found for this signature in database
GPG key ID: F99E3B9698DC3D9A

View file

@ -2139,7 +2139,7 @@ func copyToClipboard(str string) {
}
cmd.Stdin = bytes.NewReader([]byte(str))
if err := cmd.Run(); err != nil {
log.Debugf("error copying to clipboard", err)
log.Debugf("error copying to clipboard: %v", err)
return
}
fmt.Fprintf(os.Stderr, "Code copied to clipboard")