refactor: eradicate deprecated tools (sticky_notes, pinned_files, context_workspaces, pr_checklist, preferences) and dead code
This commit is contained in:
1 parent
d80915635f
commit
79209da711
31 files changed
+1230
-3920
No files matched your search
+2
-2
@@ -114,6 +114,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
});
|
||||
|
||||
let mut recv_task = tokio::spawn(async move {
|
||||
use tokio::io::AsyncWriteExt;
|
||||
let mut stdout = tokio::io::BufWriter::new(tokio::io::stdout());
|
||||
while let Some(Ok(msg)) = read.next().await {
|
||||
if let tokio_tungstenite::tungstenite::Message::Text(text) = msg {
|
||||
let log_prefix = logger::extract_log_prefix(&text, true);
|
||||
@@ -124,8 +126,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
&text[..text.floor_char_boundary(1000)],
|
||||
if text.len() > 1000 { "..." } else { "" }
|
||||
);
|
||||
use tokio::io::AsyncWriteExt;
|
||||
let mut stdout = tokio::io::stdout();
|
||||
let _ = stdout.write_all(text.as_bytes()).await;
|
||||
let _ = stdout.write_all(b"\n").await;
|
||||
let _ = stdout.flush().await;
|
||||
|
||||
Reference in new issue
Block a user