mirror of
https://git.alemi.dev/tci.git
synced 2024-12-25 04:34:52 +01:00
chore: cleanup: won't use stdin i hope
This commit is contained in:
parent
f93e4ec43c
commit
2cd2f75257
1 changed files with 0 additions and 3 deletions
|
@ -3,7 +3,6 @@ use crate::{cfg::TciConfig, error::{TciErr, TciResult}, git::TciRepo};
|
|||
pub struct Tci {
|
||||
cfg: TciConfig,
|
||||
repo: TciRepo,
|
||||
// stdin: String,
|
||||
}
|
||||
|
||||
impl Tci {
|
||||
|
@ -25,7 +24,6 @@ impl Tci {
|
|||
return false; // we are in whitelist mode and this repo is not whitelisted
|
||||
}
|
||||
|
||||
|
||||
match self.cfg.branch.as_deref() {
|
||||
None => self.repo.updated("tci"),
|
||||
Some("") => true,
|
||||
|
@ -92,7 +90,6 @@ impl Tci {
|
|||
Ok(
|
||||
std::process::Command::new(s)
|
||||
.current_dir(cwd)
|
||||
// .stdin(self.stdin.clone()) // TODO not this easy
|
||||
.spawn()?
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue