Skip to content

Commit 44d677f

Browse files
sort sso profiles by profile name (#733)
* sort sso profiles by profile name * Fix lint errors * Update pkg/granted/completion.go --------- Co-authored-by: JoshuaWilkes <[email protected]>
1 parent 46a8f33 commit 44d677f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ require (
135135
github.com/aws/aws-sdk-go-v2/service/iam v1.28.7
136136
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.7 // indirect
137137
github.com/aws/smithy-go v1.20.2
138-
github.com/common-fate/awsconfigfile v0.9.0
138+
github.com/common-fate/awsconfigfile v0.10.0
139139
github.com/common-fate/useragent v0.1.0
140140
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
141141
github.com/danieljoos/wincred v1.1.2 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ github.com/common-fate/apikit v0.4.0 h1:d3ZYWg4CPBte6gIyiNM2MFuqn7Pg24RdYlB6Tz25
8888
github.com/common-fate/apikit v0.4.0/go.mod h1:5WXBU3NBnQ6ZuqQyazwL5Ou6yT7UpC8c3yK8F9mGh9k=
8989
github.com/common-fate/awsconfigfile v0.9.0 h1:eP5UGdX/kUqubnp1OM+78n/ssuuu2xMjztUZMwR7xPI=
9090
github.com/common-fate/awsconfigfile v0.9.0/go.mod h1:4g8kxy1vcf2hn6N5Zmaz+nfc7xQ66uWSb5dsm2ZCa6s=
91+
github.com/common-fate/awsconfigfile v0.10.0 h1:9W0JTeO0d3jNLw3Ps9U7IJwLYp4D9zcipq/sqNEWJOg=
92+
github.com/common-fate/awsconfigfile v0.10.0/go.mod h1:znstvN26aO+KUwmdjwZ+WcmitZ7heEJb5iFdCPokAO8=
9193
github.com/common-fate/cli v1.8.0 h1:T3I+NCMTyvIlZC8QK9qfmsZWj3eSDSZRPHQlM5KJ8Q4=
9294
github.com/common-fate/cli v1.8.0/go.mod h1:fE4jNXj30AvqFvBMTHIDuoI/IahN1h8iRrjEE2n2Td0=
9395
github.com/common-fate/clio v1.2.3 h1:hHwUYZjn66qGYDpgANl0EB/92hyi/Jsnd07qB09rvn4=

pkg/granted/completion.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ func installFishCompletions(c *cli.Context) error {
6969
// Try to create a file
7070
err := os.WriteFile(executableDir, []byte(combinedOutput), 0600)
7171
if err != nil {
72-
7372
return fmt.Errorf("something went wrong when saving fish autocompletions: %s", err.Error())
7473
}
7574
clio.Success("Fish autocompletions generated successfully")

0 commit comments

Comments
 (0)