Skip to content

Commit 01d2e6a

Browse files
upgrade to latest dependencies (#339)
bumping github.com/spf13/cobra 178edbb...5b2b9e9: > 5b2b9e9 Removes viper dependency by removing cobra/ CLI tool (# 1604) > 9369465 labeler: fix syntax > e1b831e Updates labeler for new labels (# 1613) > 8267283 Add MAINTAINERS file (alphabetical order) (# 1545) > 6d2dc43 Add Pixie to projects. (# 1581) > a599632 Fix install command (# 1576) > 7cabfeb Update Go Doc link and badge (# 1593) > e04ec72 Bump license year to 2022 in golden files (# 1575) > cb9d7b1 Bump github.com/spf13/viper from 1.10.0 to 1.10.1 (# 1567) bumping knative.dev/client 59948bb...9bbef97: > 9bbef97 [main] Upgrade to latest dependencies (# 1731) Signed-off-by: Knative Automation <[email protected]> Signed-off-by: Knative Automation <[email protected]>
1 parent 5884825 commit 01d2e6a

File tree

11 files changed

+113
-53
lines changed

11 files changed

+113
-53
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ module knative.dev/kn-plugin-quickstart
33
go 1.17
44

55
require (
6-
github.com/spf13/cobra v1.3.0
6+
github.com/spf13/cobra v1.4.0
77
gotest.tools/v3 v3.1.0
8-
knative.dev/client v0.34.1-0.20220906114442-59948bb3723d
8+
knative.dev/client v0.34.1-0.20220919093209-9bbef97106bc
99
knative.dev/hack v0.0.0-20220914183605-d1317b08c0c3
1010

1111
)

go.sum

Lines changed: 68 additions & 21 deletions
Large diffs are not rendered by default.

vendor/github.com/spf13/cobra/MAINTAINERS

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/cobra/Makefile

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/cobra/README.md

Lines changed: 16 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/cobra/projects_using_cobra.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/cobra/shell_completions.md

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/spf13/cobra/user_guide.md

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/knative.dev/client/pkg/kn/plugin/manager.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ package plugin
1717
import (
1818
"errors"
1919
"fmt"
20-
"io/ioutil"
2120
"os"
2221
"os/exec"
2322
"path/filepath"
@@ -160,7 +159,7 @@ func (manager *Manager) ListPluginsForCommandGroup(commandGroupParts []string) (
160159
hasSeen[pl.Name()] = true
161160
}
162161
for _, dir := range dirs {
163-
files, err := ioutil.ReadDir(dir)
162+
files, err := os.ReadDir(dir)
164163

165164
// Ignore non-existing directories
166165
if os.IsNotExist(err) {

vendor/knative.dev/client/pkg/kn/plugin/verify.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"errors"
1919
"fmt"
2020
"io"
21-
"io/ioutil"
2221
"os"
2322
"path/filepath"
2423
"runtime"
@@ -54,7 +53,7 @@ func (manager *Manager) Verify() VerificationErrorsAndWarnings {
5453

5554
seenPlugins := make(map[string]string)
5655
for _, dir := range dirs {
57-
files, err := ioutil.ReadDir(dir)
56+
files, err := os.ReadDir(dir)
5857

5958
// Ignore non-existing directories
6059
if os.IsNotExist(err) {

0 commit comments

Comments
 (0)