Skip to content

Commit 577d864

Browse files
committed
fix: corrected spelling
1 parent e018fd8 commit 577d864

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/awscliauth_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func Test_Saml_timeout(t *testing.T) {
8787

8888
func Test_SpecificCommand(t *testing.T) {
8989

90-
t.Run("Sepcific command should fail with wrong method", func(t *testing.T) {
90+
t.Run("Specific command should fail with wrong method", func(t *testing.T) {
9191
_, _, err := cmdHelperExecutor(t, []string{"specific", "--method=unknown", "--role",
9292
"arn:aws:iam::1234111111111:role/Role-ReadOnly"})
9393
if err == nil {
@@ -98,7 +98,7 @@ func Test_SpecificCommand(t *testing.T) {
9898
}
9999
})
100100

101-
t.Run("Sepcific command fails on missing env AWS_WEB_IDENTITY_TOKEN_FILE", func(t *testing.T) {
101+
t.Run("Specific command fails on missing env AWS_WEB_IDENTITY_TOKEN_FILE", func(t *testing.T) {
102102
os.Setenv("AWS_ROLE_ARN", "arn:aws:iam::1234111111111:role/Role-ReadOnly")
103103
defer os.Unsetenv("AWS_ROLE_ARN")
104104
_, _, err := cmdHelperExecutor(t, []string{"specific", "--method=WEB_ID", "--role",

cmd/clear.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func newClearCmd(r *Root) {
3131
if err != nil {
3232
return err
3333
}
34-
iniCfg, err := samlInitConfig("")
34+
iniCfg, err := samlInitConfig(r.rootFlags.CustomIniLocation)
3535
if err != nil {
3636
return err
3737
}

0 commit comments

Comments
 (0)