aboutsummaryrefslogtreecommitdiff
path: root/src-tauri
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-02-13 12:06:22 +0100
committerGitHub <noreply@github.com>2024-02-13 12:06:22 +0100
commit00196d2ba6b76c473a72493f2de2deff9f781421 (patch)
treed1f370f603d81ca9d72423061be927f384ab3416 /src-tauri
parent83054cac91837e1bcfb98b01f818f73df6ee7d24 (diff)
downloadFlightCore-00196d2ba6b76c473a72493f2de2deff9f781421.tar.gz
FlightCore-00196d2ba6b76c473a72493f2de2deff9f781421.zip
fix: Remove most leftover dbg prints (#803)
Removes all but one leftover `dbg!()` prints. The remaining one is in a function that is yet to be implemented.
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/src/github/pull_requests.rs2
-rw-r--r--src-tauri/src/mod_management/mod.rs2
-rw-r--r--src-tauri/src/repair_and_verify/mod.rs1
3 files changed, 0 insertions, 5 deletions
diff --git a/src-tauri/src/github/pull_requests.rs b/src-tauri/src/github/pull_requests.rs
index 91d8a5da..9c7e82f5 100644
--- a/src-tauri/src/github/pull_requests.rs
+++ b/src-tauri/src/github/pull_requests.rs
@@ -190,8 +190,6 @@ pub async fn get_launcher_download_link(commit_sha: String) -> Result<String, St
for artifact in artifacts_response.artifacts {
// Make sure artifact and CI run commit head sha match
if artifact.workflow_run.head_sha == workflow_run.head_sha {
- dbg!(artifact.id);
-
// Download artifact
return Ok(format!("https://nightly.link/R2Northstar/NorthstarLauncher/actions/artifacts/{}.zip", artifact.id));
}
diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs
index ab639b11..049eaa6e 100644
--- a/src-tauri/src/mod_management/mod.rs
+++ b/src-tauri/src/mod_management/mod.rs
@@ -414,7 +414,6 @@ async fn get_ns_mod_download_url(thunderstore_mod_string: &str) -> Result<String
// Iterate over all versions of a given mod
for ns_mod in ns_mod.versions.values() {
if ns_mod.url.contains(&ts_mod_string_url) {
- dbg!(ns_mod.clone());
return Ok(ns_mod.url.clone());
}
}
@@ -437,7 +436,6 @@ async fn get_mod_dependencies(thunderstore_mod_string: &str) -> Result<Vec<Strin
// Iterate over all versions of a given mod
for ns_mod in ns_mod.versions.values() {
if ns_mod.url.contains(&ts_mod_string_url) {
- dbg!(ns_mod.clone());
return Ok(ns_mod.deps.clone());
}
}
diff --git a/src-tauri/src/repair_and_verify/mod.rs b/src-tauri/src/repair_and_verify/mod.rs
index c752a3ab..3c861609 100644
--- a/src-tauri/src/repair_and_verify/mod.rs
+++ b/src-tauri/src/repair_and_verify/mod.rs
@@ -92,7 +92,6 @@ pub fn clean_up_download_folder(
Ok(contents) => contents,
Err(_) => continue,
};
- // dbg!(download_dir_contents);
let mut count = 0;
download_dir_contents.for_each(|_| count += 1);