mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-29 18:30:05 +08:00
update build_jsonrs
This commit is contained in:
@@ -52,7 +52,7 @@ pub fn create_build_json(args: &Vec<String>) {
|
|||||||
print_message(MessageType::ERROR, &format!("Write file failed: {}, error message: {}", BUILD_JSON, err));
|
print_message(MessageType::ERROR, &format!("Write file failed: {}, error message: {}", BUILD_JSON, err));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn find_build_json_in_current() -> Option<String> {
|
pub fn find_build_json_in_current() -> Option<String> {
|
||||||
let path = fs::canonicalize(".").ok()?;
|
let path = fs::canonicalize(".").ok()?;
|
||||||
|
|||||||
Reference in New Issue
Block a user