mirror of
https://git.alemi.dev/tci.git
synced 2024-11-23 16:44:48 +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 {
|
pub struct Tci {
|
||||||
cfg: TciConfig,
|
cfg: TciConfig,
|
||||||
repo: TciRepo,
|
repo: TciRepo,
|
||||||
// stdin: String,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Tci {
|
impl Tci {
|
||||||
|
@ -25,7 +24,6 @@ impl Tci {
|
||||||
return false; // we are in whitelist mode and this repo is not whitelisted
|
return false; // we are in whitelist mode and this repo is not whitelisted
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
match self.cfg.branch.as_deref() {
|
match self.cfg.branch.as_deref() {
|
||||||
None => self.repo.updated("tci"),
|
None => self.repo.updated("tci"),
|
||||||
Some("") => true,
|
Some("") => true,
|
||||||
|
@ -92,7 +90,6 @@ impl Tci {
|
||||||
Ok(
|
Ok(
|
||||||
std::process::Command::new(s)
|
std::process::Command::new(s)
|
||||||
.current_dir(cwd)
|
.current_dir(cwd)
|
||||||
// .stdin(self.stdin.clone()) // TODO not this easy
|
|
||||||
.spawn()?
|
.spawn()?
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue