Skip to content

Commit 114a55b

Browse files
committed
style(cli): apply rustfmt to the Artifact origin match
Claude-Session: https://claude.ai/code/session_01ASGK6drkuCbo7vsPQcYCvn
1 parent 66802bc commit 114a55b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

crates/skilld-command/src/remote.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2409,9 +2409,7 @@ fn validate_url(url: &Url, allowed: &AllowedOrigin) -> Result<(), RemoteError> {
24092409
}
24102410
let allowed = match allowed {
24112411
AllowedOrigin::Service(base) => same_origin(url, base),
2412-
AllowedOrigin::Artifact(base) => {
2413-
same_origin(url, base) || is_https_subdomain_of(url, base)
2414-
}
2412+
AllowedOrigin::Artifact(base) => same_origin(url, base) || is_https_subdomain_of(url, base),
24152413
AllowedOrigin::Github => {
24162414
url.scheme() == "https"
24172415
&& url.host_str() == Some("api.github.com")

0 commit comments

Comments
 (0)