Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 221acbd

Browse files
committed
Break early in case of errors
1 parent 6db7bb2 commit 221acbd

File tree

7 files changed

+135
-143
lines changed

7 files changed

+135
-143
lines changed

go.mod

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.19
55
require (
66
github.com/anchore/packageurl-go v0.1.1-0.20220428202044-a072fa3cb6d7
77
github.com/anchore/stereoscope v0.0.0-20221006201143-d24c9d626b33
8-
github.com/anchore/syft v0.59.0
8+
github.com/anchore/syft v0.62.1
99
github.com/aquasecurity/trivy v0.30.4
1010
github.com/atomist-skills/go-skill v0.0.6-0.20221003172518-c3d268e1f3f1
1111
github.com/briandowns/spinner v1.12.0
@@ -15,26 +15,27 @@ require (
1515
github.com/google/go-containerregistry v0.11.0
1616
github.com/google/uuid v1.3.0
1717
github.com/gookit/color v1.5.2
18+
github.com/hasura/go-graphql-client v0.8.1
1819
github.com/jedib0t/go-pretty/v6 v6.4.0
1920
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae
2021
github.com/opencontainers/go-digest v1.0.0
2122
github.com/opencontainers/image-spec v1.0.3-0.20220303224323-02efb9a75ee1
2223
github.com/pkg/errors v0.9.1
2324
github.com/sirupsen/logrus v1.9.0
24-
github.com/spf13/cobra v1.5.0
25+
github.com/spf13/cobra v1.6.0
2526
github.com/xeonx/timeago v1.0.0-rc5
2627
olympos.io/encoding/edn v0.0.0-20201019073823-d3554ca0b0a3
2728
)
2829

2930
require (
30-
cloud.google.com/go/compute v1.7.0 // indirect
31+
cloud.google.com/go/compute v1.10.0 // indirect
3132
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect
3233
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
3334
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
3435
github.com/Azure/go-autorest/autorest v0.11.28 // indirect
35-
github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
36+
github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect
3637
github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect
37-
github.com/Azure/go-autorest/autorest/azure/cli v0.4.5 // indirect
38+
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
3839
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
3940
github.com/Azure/go-autorest/logger v0.2.1 // indirect
4041
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
@@ -49,6 +50,7 @@ require (
4950
github.com/ProtonMail/go-crypto v0.0.0-20220824120805-4b6e5c587895 // indirect
5051
github.com/acobaugh/osrelease v0.1.0 // indirect
5152
github.com/acomagu/bufpipe v1.0.3 // indirect
53+
github.com/anchore/go-logger v0.0.0-20220728155337-03b66a5207d8 // indirect
5254
github.com/anchore/go-macholibre v0.0.0-20220308212642-53e6d0aaf6fb // indirect
5355
github.com/andybalholm/brotli v1.0.4 // indirect
5456
github.com/aquasecurity/go-dep-parser v0.0.0-20220626060741-179d0b167e5f // indirect
@@ -102,11 +104,10 @@ require (
102104
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
103105
github.com/hashicorp/go-multierror v1.1.1 // indirect
104106
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
105-
github.com/hasura/go-graphql-client v0.8.1 // indirect
106107
github.com/hhatto/gorst v0.0.0-20181029133204-ca9f730cac5b // indirect
107108
github.com/huandu/xstrings v1.3.2 // indirect
108109
github.com/imdario/mergo v0.3.13 // indirect
109-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
110+
github.com/inconshreveable/mousetrap v1.0.1 // indirect
110111
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
111112
github.com/jdkato/prose v1.1.0 // indirect
112113
github.com/jinzhu/copier v0.3.2 // indirect
@@ -115,10 +116,10 @@ require (
115116
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
116117
github.com/klauspost/compress v1.15.12 // indirect
117118
github.com/klauspost/pgzip v1.2.5 // indirect
118-
github.com/knqyf263/go-rpmdb v0.0.0-20220629110411-9a3bd2ebb923 // indirect
119+
github.com/knqyf263/go-rpmdb v0.0.0-20221030135625-4082a22221ce // indirect
119120
github.com/knqyf263/nested v0.0.1 // indirect
120-
github.com/mattn/go-colorable v0.1.12 // indirect
121-
github.com/mattn/go-isatty v0.0.14 // indirect
121+
github.com/mattn/go-colorable v0.1.13 // indirect
122+
github.com/mattn/go-isatty v0.0.16 // indirect
122123
github.com/mattn/go-runewidth v0.0.13 // indirect
123124
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
124125
github.com/mholt/archiver/v3 v3.5.1 // indirect
@@ -156,7 +157,7 @@ require (
156157
github.com/sergi/go-diff v1.2.0 // indirect
157158
github.com/shogo82148/go-shuffle v0.0.0-20170808115208-59829097ff3b // indirect
158159
github.com/shopspring/decimal v1.2.0 // indirect
159-
github.com/spdx/tools-golang v0.3.0 // indirect
160+
github.com/spdx/tools-golang v0.3.1-0.20221108182156-8a01147e6342 // indirect
160161
github.com/spf13/afero v1.8.2 // indirect
161162
github.com/spf13/cast v1.5.0 // indirect
162163
github.com/spf13/pflag v1.0.5 // indirect
@@ -180,21 +181,21 @@ require (
180181
go.uber.org/atomic v1.10.0 // indirect
181182
go.uber.org/multierr v1.8.0 // indirect
182183
go.uber.org/zap v1.23.0 // indirect
183-
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
184+
golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be // indirect
184185
golang.org/x/exp v0.0.0-20220823124025-807a23277127 // indirect
185186
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
186-
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
187-
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 // indirect
188-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
189-
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 // indirect
190-
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
187+
golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 // indirect
188+
golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1 // indirect
189+
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0 // indirect
190+
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec // indirect
191+
golang.org/x/term v0.0.0-20220919170432-7a66f970e087 // indirect
191192
golang.org/x/text v0.3.8-0.20211004125949-5bd84dd9b33b // indirect
192193
golang.org/x/tools v0.1.12 // indirect
193-
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
194+
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
194195
gonum.org/v1/gonum v0.7.0 // indirect
195196
google.golang.org/appengine v1.6.7 // indirect
196-
google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006 // indirect
197-
google.golang.org/grpc v1.49.0 // indirect
197+
google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e // indirect
198+
google.golang.org/grpc v1.50.1 // indirect
198199
google.golang.org/protobuf v1.28.1 // indirect
199200
gopkg.in/neurosnap/sentences.v1 v1.0.6 // indirect
200201
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)