|
|
@ -29,10 +29,8 @@ impl Git { |
|
|
|
io::ErrorKind::Other, |
|
|
|
io::ErrorKind::Other, |
|
|
|
format!("Failed to execute git commit: {}", e) |
|
|
|
format!("Failed to execute git commit: {}", e) |
|
|
|
))?; |
|
|
|
))?; |
|
|
|
|
|
|
|
|
|
|
|
Command::new("git") |
|
|
|
Command::new("git") |
|
|
|
.arg("push") |
|
|
|
.arg("push") |
|
|
|
.arg(paths::PATH_DB) |
|
|
|
|
|
|
|
.current_dir(&sp) |
|
|
|
.current_dir(&sp) |
|
|
|
.status() |
|
|
|
.status() |
|
|
|
.map_err(|e| io::Error::new( |
|
|
|
.map_err(|e| io::Error::new( |
|
|
|