Skip to content

Commit

Permalink
update telemetry (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
effoeffi authored Nov 26, 2023
1 parent 45d8578 commit cf2e565
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/TwiN/go-color v1.4.1
github.com/getkin/kin-openapi v0.120.0
github.com/oasdiff/go-common v0.2.27
github.com/oasdiff/telemetry v0.1.1
github.com/oasdiff/telemetry v0.1.2
github.com/stretchr/testify v1.8.4
github.com/yargevad/filepathx v1.0.0
github.com/yuin/goldmark v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8=
github.com/oasdiff/go-common v0.2.27 h1:KrXKvOZOAt9BkgYgGOe8cqof+P5L/ASGihQNMSeF2vk=
github.com/oasdiff/go-common v0.2.27/go.mod h1:aF7FmHg0gJrOkWfnAQGkssImYgPwzmzYS+iXXpN6XSg=
github.com/oasdiff/telemetry v0.1.1 h1:DpWMzjrPLQS5T/1t4OJIyw20P3wxB3AAOa8VlKBVtqY=
github.com/oasdiff/telemetry v0.1.1/go.mod h1:FBsQ9k09Fje4SYQpBFC4KdyZKxF/zPRevEwsZzA3bu4=
github.com/oasdiff/telemetry v0.1.2 h1:hkmA5YTISVF2/zWa23y29WdPws1Q53pyLOFYMHXoZ1U=
github.com/oasdiff/telemetry v0.1.2/go.mod h1:Y0DaW/CasxZ+vzR54btj430XsL6DGF+rMbJkRld6u3M=
github.com/perimeterx/marshmallow v1.1.5 h1:a2LALqQ1BlHM8PZblsDdidgv1mWi1DgC2UmX50IvK2s=
github.com/perimeterx/marshmallow v1.1.5/go.mod h1:dsXbUu8CRzfYP5a87xpp0xq9S3u0Vchtcl8we9tYaXw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
3 changes: 2 additions & 1 deletion internal/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"strings"
"testing"

"github.com/oasdiff/telemetry/model"
"github.com/stretchr/testify/require"
"github.com/tufin/oasdiff/checker"
"github.com/tufin/oasdiff/internal"
Expand All @@ -25,7 +26,7 @@ func TestMain(m *testing.M) {
}

func setup() {
os.Setenv("OASDIFF_NO_TELEMETRY", "1")
os.Setenv(model.EnvNoTelemetry, "1")
}
func Test_InvalidCmd(t *testing.T) {
require.Equal(t, 100, internal.Run(cmdToArgs("oasdiff invalid"), io.Discard, io.Discard))
Expand Down

0 comments on commit cf2e565

Please sign in to comment.