mirror of
https://github.com/jht5945/buildj.git
synced 2025-12-29 02:10:04 +08:00
fix all clippy
This commit is contained in:
@@ -40,13 +40,10 @@ pub fn get_archive_version(gid: &str, aid: &str) -> XResult<String> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn create_build_json(args: &Vec<String>) {
|
||||
match find_build_json_in_current() {
|
||||
Some(_) => {
|
||||
print_message(MessageType::ERROR, &format!("File exits: {}", BUILD_JSON));
|
||||
return;
|
||||
},
|
||||
None => (), // OK
|
||||
pub fn create_build_json(args: &[String]) {
|
||||
if find_build_json_in_current().is_some() {
|
||||
print_message(MessageType::ERROR, &format!("File exits: {}", BUILD_JSON));
|
||||
return;
|
||||
}
|
||||
|
||||
let mut java_version = "";
|
||||
|
||||
Reference in New Issue
Block a user