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: Disallow paths on the command line with --stdin

+6
+6
client/src/command/push.rs
··· 182 182 }; 183 183 184 184 if sub.stdin { 185 + if !sub.paths.is_empty() { 186 + return Err(anyhow!( 187 + "No paths can be specified on the command line with --stdin" 188 + )); 189 + } 190 + 185 191 push_ctx.push_stdin().await?; 186 192 } else { 187 193 push_ctx.push_static(sub.paths.clone()).await?;