Bump go-boilerplate; make error codes sequential

This commit is contained in:
2025-06-01 14:17:51 -04:00
parent 2e3be57e3e
commit 5f8789a0f0
12 changed files with 26 additions and 21 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ import (
// CopyArgument copies a field from an entry to the clipboard.
func CopyArgument(targetLocation string, field int) error {
if isFile, _ := back.TargetIsFile(targetLocation, true, 2); isFile {
if isFile, _, err := back.TargetIsFile(targetLocation, true, 2); isFile {
if err != nil {
return err
}
decryptedEntry, err := crypt.DecryptFileToSlice(targetLocation)
if err != nil {