Removed bad format macro use
This commit is contained in:
parent
071f432ae1
commit
52cf2f4fff
12
src/main.rs
12
src/main.rs
|
|
@ -55,11 +55,6 @@ async fn main() {
|
||||||
std::process::Command::new("clear").spawn().unwrap();
|
std::process::Command::new("clear").spawn().unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
tracing_subscriber::fmt()
|
|
||||||
.with_max_level(MAX_TRACING_LEVEL)
|
|
||||||
.pretty()
|
|
||||||
.init();
|
|
||||||
|
|
||||||
let args: Vec<String> = std::env::args().collect();
|
let args: Vec<String> = std::env::args().collect();
|
||||||
let base_url: &str = "www.syntax.eco";
|
let base_url: &str = "www.syntax.eco";
|
||||||
let mut setup_url: &str = "setup.syntax.eco";
|
let mut setup_url: &str = "setup.syntax.eco";
|
||||||
|
|
@ -117,6 +112,11 @@ async fn main() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tracing_subscriber::fmt()
|
||||||
|
.with_max_level(MAX_TRACING_LEVEL)
|
||||||
|
.pretty()
|
||||||
|
.init();
|
||||||
|
|
||||||
let http_client: Client = reqwest::Client::builder().no_gzip().build().unwrap();
|
let http_client: Client = reqwest::Client::builder().no_gzip().build().unwrap();
|
||||||
debug!(
|
debug!(
|
||||||
"Setup Server: {} | Base Server: {}",
|
"Setup Server: {} | Base Server: {}",
|
||||||
|
|
@ -229,7 +229,7 @@ async fn main() {
|
||||||
match command.spawn() {
|
match command.spawn() {
|
||||||
Ok(_) => {}
|
Ok(_) => {}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
debug!(&format!("Bootstrapper errored with error {}", e));
|
debug!("Bootstrapper errored with error {}", e);
|
||||||
info("Found bootstrapper was corrupted! Downloading...");
|
info("Found bootstrapper was corrupted! Downloading...");
|
||||||
std::fs::remove_file(latest_bootstrapper_path.clone()).unwrap();
|
std::fs::remove_file(latest_bootstrapper_path.clone()).unwrap();
|
||||||
download_file(
|
download_file(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue