feat: recover interrupted installation preparation safely
This commit is contained in:
@@ -440,6 +440,9 @@ func validateRepositoryRemote(remote, access string) error {
|
||||
if access == "ssh" && parsed.Scheme != "ssh" {
|
||||
return errors.New("workspaceRepository remote does not match SSH access")
|
||||
}
|
||||
if parsed.Port() != "" && !(parsed.Scheme == "https" && parsed.Port() == "443") {
|
||||
return errors.New("workspaceRepository remote uses a port unsupported by the runtime registry")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user