Skip to content

Commit 234fb2b

Browse files
bala-cegaccraw
authored andcommitted
Fixing the lint & test errors
Signed-off-by: Amanda Crawley <[email protected]>
1 parent 0e9d819 commit 234fb2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/huggingface/user_access_token_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestAPITokenImporter(t *testing.T) {
3838
ExpectedCandidates: []sdk.ImportCandidate{
3939
{
4040
Fields: map[sdk.FieldName]string{
41-
fieldname.UserAccessToken: "hf_yVvZeburdKtnwkVCWPXimmNwaFuEXAMPLE",
41+
fieldname.UserAccessToken: "hf_yVvZeburdKtnwkVCWPXimmNwaFuEXAMPLE\n",
4242
},
4343
},
4444
},

sdk/schema/fieldname/names.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "github.com/1Password/shell-plugins/sdk"
55
// Credential field names.
66
const (
77
APIHost = sdk.FieldName("API Host")
8-
APIUrl = sdk.FieldName("API URL")
8+
APIUrl = sdk.FieldName("API URL")
99
APIKey = sdk.FieldName("API Key")
1010
APIKeyID = sdk.FieldName("API Key ID")
1111
APISecret = sdk.FieldName("API Secret")

0 commit comments

Comments
 (0)