Skip to content

Commit

Permalink
sort sso profiles by profile name (#733)
Browse files Browse the repository at this point in the history
* sort sso profiles by profile name

* Fix lint errors

* Update pkg/granted/completion.go

---------

Co-authored-by: JoshuaWilkes <[email protected]>
  • Loading branch information
shwethaumashanker and JoshuaWilkes authored Sep 19, 2024
1 parent 46a8f33 commit 44d677f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/iam v1.28.7
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.7 // indirect
github.com/aws/smithy-go v1.20.2
github.com/common-fate/awsconfigfile v0.9.0
github.com/common-fate/awsconfigfile v0.10.0
github.com/common-fate/useragent v0.1.0
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ github.com/common-fate/apikit v0.4.0 h1:d3ZYWg4CPBte6gIyiNM2MFuqn7Pg24RdYlB6Tz25
github.com/common-fate/apikit v0.4.0/go.mod h1:5WXBU3NBnQ6ZuqQyazwL5Ou6yT7UpC8c3yK8F9mGh9k=
github.com/common-fate/awsconfigfile v0.9.0 h1:eP5UGdX/kUqubnp1OM+78n/ssuuu2xMjztUZMwR7xPI=
github.com/common-fate/awsconfigfile v0.9.0/go.mod h1:4g8kxy1vcf2hn6N5Zmaz+nfc7xQ66uWSb5dsm2ZCa6s=
github.com/common-fate/awsconfigfile v0.10.0 h1:9W0JTeO0d3jNLw3Ps9U7IJwLYp4D9zcipq/sqNEWJOg=
github.com/common-fate/awsconfigfile v0.10.0/go.mod h1:znstvN26aO+KUwmdjwZ+WcmitZ7heEJb5iFdCPokAO8=
github.com/common-fate/cli v1.8.0 h1:T3I+NCMTyvIlZC8QK9qfmsZWj3eSDSZRPHQlM5KJ8Q4=
github.com/common-fate/cli v1.8.0/go.mod h1:fE4jNXj30AvqFvBMTHIDuoI/IahN1h8iRrjEE2n2Td0=
github.com/common-fate/clio v1.2.3 h1:hHwUYZjn66qGYDpgANl0EB/92hyi/Jsnd07qB09rvn4=
Expand Down
1 change: 0 additions & 1 deletion pkg/granted/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func installFishCompletions(c *cli.Context) error {
// Try to create a file
err := os.WriteFile(executableDir, []byte(combinedOutput), 0600)
if err != nil {

return fmt.Errorf("something went wrong when saving fish autocompletions: %s", err.Error())
}
clio.Success("Fish autocompletions generated successfully")
Expand Down

0 comments on commit 44d677f

Please sign in to comment.