Skip to content

Commit

Permalink
refactor(cli/components): update component registry URL (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
KokaKiwi authored Feb 14, 2025
1 parent c79523a commit d845bf4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/cli/src/commands/components/push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ pub async fn run(opts: Options) -> anyhow::Result<()> {
};

let component_slug = slug::slugify(&manifest.component.name);
let component_url = format!(
"https://www.edgee.cloud/~/{0}/component-registry/{0}/{1}",
organization.slug, component_slug,
);

let (do_update, component) = match client
.get_component_by_slug()
Expand Down Expand Up @@ -208,7 +204,11 @@ pub async fn run(opts: Options) -> anyhow::Result<()> {
component_slug,
manifest.component.version,
);
tracing::info!("Check it out here: {component_url}");
tracing::info!(
"Check it out here: https://www.edgee.cloud/~/registry/{}/{}",
organization.slug,
component_slug,
);

Ok(())
}
Expand Down

0 comments on commit d845bf4

Please sign in to comment.