From 75668ad5317189e385373aa353049bbb8e27ff97 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Fri, 30 Jun 2023 20:12:44 -0600 Subject: [PATCH] use simple type conversion instead fmt package --- processFiles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processFiles.go b/processFiles.go index 8bc9fd6..4d37e9e 100644 --- a/processFiles.go +++ b/processFiles.go @@ -61,7 +61,7 @@ func hashFile(filename string) (string, error) { return "", fmt.Errorf("failed to copy data from file to hash function: %v", err) } - return fmt.Sprintf("%x", h.Sum(nil)), nil + return string(h.Sum(nil)), nil } // false if a file is not a LineageOS ROM .zip file