Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
Remove vestigial debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
cdata committed Oct 24, 2022
1 parent 326a415 commit cd6bafd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions rust/noosphere-api/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ where
}

pub async fn fetch(&self, params: &FetchParameters) -> Result<FetchResponse> {
// println!("FOOBAR");
// println!("{:?}", serde_urlencoded::to_string(params)?);
let url = Url::try_from(RouteUrl(&self.api_base, Route::Fetch, Some(params)))?;
debug!("Client fetching blocks from {}", url);
let capability = Capability {
Expand Down
2 changes: 0 additions & 2 deletions rust/noosphere-cli/src/native/commands/sphere.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ Type or paste the code here and press enter:"#,
Some(cid_string) => cid_string,
};

println!("GOT: {}", cid_string);

Cid::from_str(cid_string.trim())
.map_err(|_| anyhow!("Could not parse the authorization identity as a CID"))?;

Expand Down
5 changes: 1 addition & 4 deletions rust/noosphere-cli/src/native/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,7 @@ impl Workspace {
ContentType::Bytes => None,
ContentType::Unknown(content_type) => {
match mime_guess::get_mime_extensions_str(&content_type) {
Some(extensions) => {
println!("markdown {:?}", extensions);
extensions.first().map(|str| String::from(*str))
}
Some(extensions) => extensions.first().map(|str| String::from(*str)),
None => None,
}
}
Expand Down

0 comments on commit cd6bafd

Please sign in to comment.