fix: format code for linter
This commit is contained in:
parent
9796051136
commit
dd3b91408c
4 changed files with 24 additions and 23 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -50,4 +50,3 @@ dist/
|
|||
|
||||
# Windows Application Icon/Resource
|
||||
*.syso
|
||||
mise/
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -393,7 +393,6 @@
|
|||
},
|
||||
"symlink_local": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"max_concurrent_searches": 2,
|
||||
"search_cache": {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue