fix: format code for linter

This commit is contained in:
keithy 2026-03-08 01:28:31 +00:00 committed by Keith Patrick
parent 9796051136
commit dd3b91408c
4 changed files with 24 additions and 23 deletions

1
.gitignore vendored
View file

@ -50,4 +50,3 @@ dist/
# Windows Application Icon/Resource
*.syso
mise/

View file

@ -38,7 +38,7 @@ func TestInstallCommandArgs(t *testing.T) {
{
name: "no registry with one arg passes",
registry: "",
args: []string{"sioeed/picoclaw-skills/weather"},
args: []string{"sipeed/picoclaw-skills/weather"},
wantErr: false,
},
{

View file

@ -393,7 +393,6 @@
},
"symlink_local": true
}
}
},
"max_concurrent_searches": 2,
"search_cache": {

View file

@ -107,7 +107,10 @@ func TestIndexRegistryIsURLAllowed(t *testing.T) {
},
{
name: "multiple prefixes first match wins",
allowedPrefixes: []string{"https://raw.githubusercontent.com/other/", "https://raw.githubusercontent.com/keithy/"},
allowedPrefixes: []string{
"https://raw.githubusercontent.com/other/",
"https://raw.githubusercontent.com/keithy/",
},
url: "https://raw.githubusercontent.com/keithy/angelhub/main",
expected: true,
},