1 Commits

Author SHA1 Message Date
cuddle-please
aae9189ed8 chore(release): 0.0.4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-08-03 11:04:39 +00:00
3 changed files with 1 additions and 8 deletions

View File

@@ -11,9 +11,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- replace output spawn with native tokio method
### Other
- add print to output from paste
## [0.0.3] - 2025-08-03
### Added

View File

@@ -123,7 +123,6 @@ async fn main() -> anyhow::Result<()> {
}
Commands::Paste {} => {
let mut stdout = tokio::io::stdout();
if let Ok(remote_host) = std::env::var("VOIDPIN_REMOTE") {
let output = state.remote_copier(&remote_host).paste().await?;

View File

@@ -58,11 +58,8 @@ impl RemoteCopier {
tracing::info!("sending paste request");
let resp = client.paste(PasteRequest {}).await?;
tracing::info!("received paste response");
let output = resp.into_inner().content;
tracing::info!(
content = std::str::from_utf8(&output).unwrap_or_default(),
"received paste response"
);
Ok(output)
}