Skip to content

Commit

Permalink
Fixing the lint & test errors
Browse files Browse the repository at this point in the history
Signed-off-by: Amanda Crawley <amanda.crawley@agilebits.com>
  • Loading branch information
bala-ceg authored and accraw committed Oct 20, 2023
1 parent 0e9d819 commit 234fb2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/huggingface/user_access_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestAPITokenImporter(t *testing.T) {
ExpectedCandidates: []sdk.ImportCandidate{
{
Fields: map[sdk.FieldName]string{
fieldname.UserAccessToken: "hf_yVvZeburdKtnwkVCWPXimmNwaFuEXAMPLE",
fieldname.UserAccessToken: "hf_yVvZeburdKtnwkVCWPXimmNwaFuEXAMPLE\n",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/schema/fieldname/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "github.com/1Password/shell-plugins/sdk"
// Credential field names.
const (
APIHost = sdk.FieldName("API Host")
APIUrl = sdk.FieldName("API URL")
APIUrl = sdk.FieldName("API URL")
APIKey = sdk.FieldName("API Key")
APIKeyID = sdk.FieldName("API Key ID")
APISecret = sdk.FieldName("API Secret")
Expand Down

0 comments on commit 234fb2b

Please sign in to comment.