...
This commit is contained in:
parent
1920e8ae79
commit
d79ea2ef4f
@ -5,7 +5,7 @@ use std::collections::HashMap;
|
|||||||
use redis::Cmd;
|
use redis::Cmd;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use crate::env;
|
use crate::redisclient;
|
||||||
use crate::git::git::parse_git_url;
|
use crate::git::git::parse_git_url;
|
||||||
|
|
||||||
// Define a custom error type for GitExecutor operations
|
// Define a custom error type for GitExecutor operations
|
||||||
@ -127,7 +127,7 @@ impl GitExecutor {
|
|||||||
cmd.arg("GET").arg("herocontext:git");
|
cmd.arg("GET").arg("herocontext:git");
|
||||||
|
|
||||||
// Execute the command
|
// Execute the command
|
||||||
let result: redis::RedisResult<String> = env::execute(&mut cmd);
|
let result: redis::RedisResult<String> = redisclient::execute(&mut cmd);
|
||||||
|
|
||||||
match result {
|
match result {
|
||||||
Ok(json_str) => {
|
Ok(json_str) => {
|
||||||
|
@ -39,7 +39,7 @@ pub type Result<T> = std::result::Result<T, Error>;
|
|||||||
pub mod process;
|
pub mod process;
|
||||||
pub mod git;
|
pub mod git;
|
||||||
pub mod os;
|
pub mod os;
|
||||||
pub mod env;
|
pub mod redisclient;
|
||||||
pub mod text;
|
pub mod text;
|
||||||
|
|
||||||
// Version information
|
// Version information
|
||||||
|
Loading…
Reference in New Issue
Block a user