Skip to content

Commit

Permalink
Replace output age references
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
  • Loading branch information
sylr committed Oct 10, 2021
1 parent 540988a commit f15a583
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions yage.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,20 +600,20 @@ func logFatalf(format string, v ...interface{}) {
}

func errorf(format string, v ...interface{}) {
log.Printf("age: error: "+format, v...)
log.Fatalf("age: report unexpected or unhelpful errors at https://filippo.io/age/report")
log.Printf("yage: error: "+format, v...)
log.Fatalf("yage: report unexpected or unhelpful errors at https://github.com/sylr/yage/issues")
}

func warningf(format string, v ...interface{}) {
log.Printf("age: warning: "+format, v...)
log.Printf("yage: warning: "+format, v...)
}

func errorWithHint(error string, hints ...string) {
log.Printf("age: error: %s", error)
log.Printf("yage: error: %s", error)
for _, hint := range hints {
log.Printf("age: hint: %s", hint)
}
log.Fatalf("age: report unexpected or unhelpful errors at https://filippo.io/age/report")
log.Fatalf("yage: report unexpected or unhelpful errors at https://github.com/sylr/yage/issues")
}

func getModsVersion() (mods []string) {
Expand Down

0 comments on commit f15a583

Please sign in to comment.