A fork of attic a self-hostable Nix Binary Cache server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

client/push: Ignore empty lines

+4
+4
client/src/command/push.rs
··· 108 108 let stdin = BufReader::new(io::stdin()); 109 109 let mut lines = stdin.lines(); 110 110 while let Some(line) = lines.next_line().await? { 111 + if line.is_empty() { 112 + continue; 113 + } 114 + 111 115 let path = self.store.follow_store_path(line)?; 112 116 session.queue_many(vec![path])?; 113 117 }