on main help sign in
chore: fix typo in const name
4cc3aebAndrey Nering
internal/event/event.go+3−3
@@ -16,7 +16,7 @@ const (
16 endpoint = "https://data.charm.land"
16 endpoint = "https://data.charm.land"
17 key = "phc_4zt4VgDWLqbYnJYEwLRxFoaTL2noNrQij0C6E8k3I0V"
17 key = "phc_4zt4VgDWLqbYnJYEwLRxFoaTL2noNrQij0C6E8k3I0V"
18
18
19− nonInteractiveEvenName = "NonInteractive"
19+ nonInteractiveEventName = "NonInteractive"
20)
20)
21
21
22var (
22var (
@@ -29,11 +29,11 @@ var (
29 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
29 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
30 Set("Version", version.Version).
30 Set("Version", version.Version).
31 Set("GoVersion", runtime.Version()).
31 Set("GoVersion", runtime.Version()).
32− Set(nonInteractiveEvenName, false)
32+ Set(nonInteractiveEventName, false)
33)
33)
34
34
35func SetNonInteractive(nonInteractive bool) {
35func SetNonInteractive(nonInteractive bool) {
36− baseProps = baseProps.Set(nonInteractiveEvenName, nonInteractive)
36+ baseProps = baseProps.Set(nonInteractiveEventName, nonInteractive)
37}
37}
38
38
39func Init() {
39func Init() {