Skip to content

Commit fff2c92

Browse files
committed
Always try registry for f install (default myflow.sh)
The registry_configured gate was skipping the registry path when FLOW_REGISTRY_URL wasn't explicitly set, even though resolve_registry_url now defaults to https://myflow.sh.
1 parent 76c312a commit fff2c92

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/install.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,9 @@ pub fn run_index(opts: InstallIndexOpts) -> Result<()> {
7979
Ok(())
8080
}
8181

82-
fn registry_configured(opts: &InstallOpts) -> bool {
83-
if opts.registry.is_some() {
84-
return true;
85-
}
86-
env::var("FLOW_REGISTRY_URL").is_ok()
82+
fn registry_configured(_opts: &InstallOpts) -> bool {
83+
// Registry is always available — defaults to https://myflow.sh
84+
true
8785
}
8886

8987
fn install_with_flox(opts: &InstallOpts) -> Result<()> {

0 commit comments

Comments
 (0)