Skip to content

Commit

Permalink
chore: add package description
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jul 22, 2024
1 parent a8589a1 commit 69e319a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/upgrader/upgrader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package upgrader contains the auto-upgrade implementation for the lefthook executable.
package upgrader

import (
Expand Down Expand Up @@ -31,7 +32,7 @@ const (

var (
errNoAsset = errors.New("Couldn't find an asset to download. Please submit an issue to https://github.com/evilmartians/lefthook")
errInvalidHashsum = errors.New("SHA256 sum differs")
errInvalidHashsum = errors.New("SHA256 sums differ, it's not safe to use the downloaded binary.\nIf you have problems upgrading lefthook please submit an issue to https://github.com/evilmartians/lefthook")

osNames = map[string]string{
"windows": "Windows",
Expand Down

0 comments on commit 69e319a

Please sign in to comment.