Skip to content

Commit

Permalink
Added circular errors for resolver when they spin out of control
Browse files Browse the repository at this point in the history
when paths go nuts, vacuum will catch it.

Signed-off-by: quobix <[email protected]>
  • Loading branch information
daveshanley committed Dec 3, 2023
1 parent 829661d commit 49fc1d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/gizak/termui/v3 v3.1.0
github.com/json-iterator/go v1.1.12
github.com/mitchellh/mapstructure v1.5.0
github.com/pb33f/libopenapi v0.13.18
github.com/pb33f/libopenapi v0.13.19
github.com/pb33f/libopenapi-validator v0.0.32
github.com/pterm/pterm v0.12.71
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y
github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=
github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro=
github.com/pb33f/libopenapi v0.13.18 h1:/qUjitkoXW4itfC8bfWScDHa2sF/vEcxBJWtbOxKJfg=
github.com/pb33f/libopenapi v0.13.18/go.mod h1:Lv2eEtsAtbRFlF8hjH82L8SIGoUNgemMVoKoB6A9THk=
github.com/pb33f/libopenapi v0.13.19 h1:oFkaQuKx5ZaLwYuHv4W2QeDb+Pm4SU4xqgQdcy2XH58=
github.com/pb33f/libopenapi v0.13.19/go.mod h1:Lv2eEtsAtbRFlF8hjH82L8SIGoUNgemMVoKoB6A9THk=
github.com/pb33f/libopenapi-validator v0.0.32 h1:jM+IsUT8I0JOtdkgacGVQmTJayQ2AO5P6URI2HxN11g=
github.com/pb33f/libopenapi-validator v0.0.32/go.mod h1:1HbsnP1IVFEaLFtbK9eZXRqUpvtQEGmdstqbgMG+72A=
github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4=
Expand Down
2 changes: 1 addition & 1 deletion vacuum-report/junit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ func TestBuildJUnitReport(t *testing.T) {
j.ResultSet.Results[0].RuleId = "R0001"
f := time.Now().Add(-time.Millisecond * 5)
data := BuildJUnitReport(j.ResultSet, f)
assert.GreaterOrEqual(t, len(data), 409)
assert.GreaterOrEqual(t, len(data), 407)
}

0 comments on commit 49fc1d7

Please sign in to comment.