Fix example envvar name

This commit is contained in:
Ben Kraft
2020-03-27 16:06:23 -07:00
parent 7b03ec7a83
commit 0911fda620
+2 -2
View File
@@ -28,9 +28,9 @@ func Main() {
} }
}() }()
key := os.Getenv("KEY") key := os.Getenv("GITHUB_TOKEN")
if key == "" { if key == "" {
err = fmt.Errorf("must set KEY=<github token>") err = fmt.Errorf("must set GITHUB_TOKEN=<github token>")
return return
} }